Pausing to Save data and Then Rerun from the Same State
6 次查看(过去 30 天)
显示 更早的评论
I have a code that is using parfor and is currently running for more than 6 days. Can I pause the code to save the obtained data and rerun the code later from the last state obtained at pausing?
0 个评论
采纳的回答
Raymond Norris
2022-5-3
There isn't. parfor blocks MATLAB from anything else. To "stop" the parfor, you'd need to hit Ctrl-C, but then you'd stop the parfor loop for good.
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Parallel for-Loops (parfor) 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!