History and Summary of All Actions
13 ビュー (過去 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!