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!