Pausing to Save data and Then Rerun from the Same State

조회 수: 6 (최근 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 CenterFile Exchange에서 Parallel for-Loops (parfor)에 대해 자세히 알아보기

태그

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by