MATLAB: How to save the MATLAB desktop state without exiting

MATLAB

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.

Best Answer

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: