Saving a variable at every run
2 次查看(过去 30 天)
显示 更早的评论
Assuming I've got to perform 10 runs and each run has 50 iterations. And there is a BestResult produced at a particular iteration in each run. I need to save these BestResult automatically at each run.
save BestResult
However, using the above would only save for one last run by overwriting those previously saved. Perhaps if there's a way it could by itself index the file name saved, so that the previous wouldn't be overwritten?
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!