Resume a long, looped simulation

Versione 1.0.0.0 (2,07 KB) da Guzman
Called from within a function, it stores/retrives the workspace of the latter, allowing resuming.
162 download
Aggiornato 13 mar 2013

Visualizza la licenza

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.

Cita come

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

Compatibilità della release di MATLAB
Creato con R2012b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Entering Commands in Help Center e MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Versione Pubblicato Note della release
1.0.0.0