History and Summary of All Actions

11 visualizaciones (últimos 30 días)
Seymen
Seymen el 20 de Abr. de 2023
Movida: dpb el 20 de Abr. de 2023
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 comentario
Stephen23
Stephen23 el 20 de Abr. de 2023
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?

Iniciar sesión para comentar.

Respuestas (1)

dpb
dpb el 20 de Abr. de 2023
Movida: dpb el 20 de Abr. de 2023
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...

Categorías

Más información sobre Environment and Settings en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by