Pausing to Save data and Then Rerun from the Same State

4 ビュー (過去 30 日間)
Kareem Elgindy
Kareem Elgindy 2022 年 5 月 2 日
回答済み: Raymond Norris 2022 年 5 月 3 日
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?


Raymond Norris
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 件)


Help Center および File ExchangeParallel for-Loops (parfor) についてさらに検索





Community Treasure Hunt

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

Start Hunting!

Translated by