Resume a long, looped simulation

Version 1.0.0.0 (2,07 KB) von Guzman
Called from within a function, it stores/retrives the workspace of the latter, allowing resuming.
162 Downloads
Aktualisiert 13. Mär 2013

Lizenz anzeigen

Tired of losing the progress in long, looped simulations (for instance, for scenario generation after and unexpected error or making CTRL-C), I wrote this small function to allow saving and later retrieving the values of the variables at the time of execution. In some sense, it is a sort of 'resume' capability. Placing the code in an inner loop, next time that a broken simulation is restarted, it will recover the data and keep with the recovered indices and variables. Unfortubatelly, the recovery process cannot update FOR loops.

Zitieren als

Guzman (2024). Resume a long, looped simulation (https://www.mathworks.com/matlabcentral/fileexchange/40762-resume-a-long-looped-simulation), MATLAB Central File Exchange. Abgerufen.

Kompatibilität der MATLAB-Version
Erstellt mit R2012b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Entering Commands finden Sie in Help Center und MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.0.0