- history.xml (R2014a or later)
- history.m (earlier versions)
How can I access my command history without running Matlab program?
32 views (last 30 days)
Show older comments
I have been using Matlab 2017a. the program crashed and can not be accessed without reinstallation. How can I access my command history to save a copy before uninstallation, ofcourse without running Matlab program because it doesn't work. I could not find a history file in the installation folder.
0 Comments
Answers (3)
Stephen23
on 8 Jan 2019
Edited: Stephen23
on 8 Jan 2019
The command history is stored in either:
The file can be found in the user's MATLAB preference directory, which can be found using the command prefdir. If you cannot use MATLAB to run that command and are using Windows the prefdir help includes an example which you should be able to use to figure out its location on your computer.
0 Comments
See Also
Categories
Find more on Desktop 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!