- history.xml (R2014a or later)
- history.m (earlier versions)
How can I access my command history without running Matlab program?
32 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(3 个)
Stephen23
2019-1-8
编辑:Stephen23
2019-1-8
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 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!