Retrieve commands from .mat file
14 views (last 30 days)
Show older comments
I saved my command window with all the commands to a .mat file. When I reopen the .mat file, I was able to load the .mat but couldn't retrieve my commands in the command window.
Is there any way to retrieve these commands?
3 Comments
Walter Roberson
on 23 Jul 2019
It is technically possible to retrieve the command history and store it in a variable that you then store in a file. I doubt that has been done, but it could have been done.
Answers (1)
Alex Mcaulley
on 23 Jul 2019
Edited: Alex Mcaulley
on 23 Jul 2019
.mat files only store variables from the workspace.
To retrieve command history:
0 Comments
See Also
Categories
Find more on Workspace Variables and MAT Files in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!