JuliaInterop / JuliaInterop/MATLAB.jl
Restart Matlab Session after fatal error exit
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 286
- Forks
- 64
- PR merge metrics
- No merged PRs in 30d
Description
Is it possible to restart the default matlab session in the REPL after it exited due to a fatal error without actually restarting the whole REPL?
When I try MATLAB.restart_default_msession() or MATLAB.close_default_msession() I only get
MATLAB.MEngineError("failed to close MATLAB engine session (err = 1)").
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing MATLAB.restart_default_msession() and MATLAB.close_default_msession() through the default MATLAB session handling. Reproduce the fatal-error state and determine what is needed for the default session to restart without restarting the REPL; done means the restart succeeds instead of raising MATLAB.MEngineError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia, matlab
- Domain
- developer-experience
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100