History and Summary of All Actions
11 次查看(过去 30 天)
显示 更早的评论
Hello everyone,
I'd like to reach all actions and history in MATLAB at a specific date. From command history, the actions are limited. I'd like to see all changes and runs. Is it possible,
Thanks a lot!
1 个评论
Stephen23
2023-4-20
How often do you clear your command history? When did you last clear it?
Is your OS set up to keep snapshots/backups of user folders?
回答(1 个)
dpb
2023-4-20
移动:dpb
2023-4-20
Only with infinite amount of disk space, no...
But, it can probably be as long as you'll need for it to be if you simply set the number of lines/commands limit in the Command History preferences to a large number; I don't recall what default is; I've currently got set at 50,000 and that covers quite a fair time span...
When looking for a past sequence of evens, I even went so far as to have written a little search routine that would find the start/stop dates in the file and return those to be able to narrow down the time of interest; then I was able to strip that sequence out to a text file and clean up manually to reconstruct a particular analysis section that had forgotten precisely what had done...
To make that process more effective, I discovered that it would have been easier if had closed and restarted MATLAB more frequently; sometimes it would be as much as a month the start date timestamps so was quite a lot of stuff to sift through to locate specifics. Of course, once got a general recollection, then could do more specific searches for variables and/or filenames or specific commands to refine the searches...
It also helps to save workspace fairly frequently with a time-stamped filename so can reproduce the state of the workspace at a given point at or about the time of interest...
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Environment and Settings 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!