How do I get my command window to load a workspace previously saved?
2 views (last 30 days)
Show older comments
I have saved the workspace but can't get it to reopen when I log back into Matlab. The code won't load up.
7 Comments
Gavin Gluckle
on 1 Oct 2021
Hi I'm having the same problem, I am wondering if you figured out a way to display the command window for saved matlabs.
Walter Roberson
on 2 Oct 2021
save() does not store the contents of the command window. If I recall correctly it is possible to query what is in the command window buffer and save that as a variable, but I am not sure there is a way to insert it back into the command window after loading.
Perhaps you might prefer to use Live Script.
Answers (0)
See Also
Categories
Find more on Workspace Variables and MAT Files in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!