Resume a long, looped simulation

版本 1.0.0.0 (2.1 KB) 作者: Guzman
Called from within a function, it stores/retrives the workspace of the latter, allowing resuming.
162.0 次下载
更新时间 2013/3/13

查看许可证

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.

引用格式

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

MATLAB 版本兼容性
创建方式 R2012b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Entering Commands 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0