How do I save the MATLAB desktop state without exiting?

7 views (last 30 days)
I would like to know if there is a way of having the MATLAB desktop save its state without exiting. I would like to save the list of open files, screen position, etc, the things it usually saves when you exit, without actually exiting. My MATLAB is crashing a lot lately, and when it crashes, the Editor state does not get saved. When I start it up again, it has the same state as the end of the previous session. I would like to be able have an option to save without needing to quit and restart.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 31 Mar 2021
Edited: MathWorks Support Team on 31 Mar 2021
This enhancement has been incorporated in Release 2008a (R2008a). For previous product releases, read below for any possible workarounds:
As a workaround, you can try a utility function named EXMANAGER from the MATLAB Central File Exchange. It is useful for saving workspace, figures and diary. You can find it at the following URL:

More Answers (0)

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Tags

No tags entered yet.

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!