Recovering workspace after exiting Matlab

115 views (last 30 days)
Hi guys,
I have made a big mistake by not including a command to save my workspace after my simulation ends. My computer shut down and now I don't have most of the matrices from my simulation results. Is it possible at all to recover my workspace after I exited Matlab without saving them? I've googled this and everybody says it's impossible. Just in case anybody has a different answer.
cheers,
Febrio

Accepted Answer

Walter Roberson
Walter Roberson on 14 Dec 2011
The data is gone. MATLAB keeps workspace contents in memory and does not bother to write the contents to disc unless it is asked to.

More Answers (1)

Michael Melnychuk
Michael Melnychuk on 26 Jan 2015
I think the core dev's should consider adding an autosave/recover function.
  3 Comments
Emir Semsic
Emir Semsic on 6 Feb 2019
So you're saying we should use functions instead of scripts?

Sign in to comment.

Tags

Community Treasure Hunt

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

Start Hunting!