Resume a long, looped simulation
by Guzman
13 Mar 2013
Called from within a function, it stores/retrives the workspace of the latter, allowing resuming.
|
Watch this File
|
| File Information |
| Description |
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.
|
| MATLAB release |
MATLAB 8.0 (R2012b)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
|
Contact us