필터 지우기
필터 지우기

History and Summary of All Actions

조회 수: 10 (최근 30일)
Seymen
Seymen 2023년 4월 20일
이동: dpb 2023년 4월 20일
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
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
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...

카테고리

Help CenterFile Exchange에서 Shifting and Sorting Matrices에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by