필터 지우기
필터 지우기

Use of function save is not supported on a thread-based worker

조회 수: 37 (최근 30일)
Meredith
Meredith 2023년 10월 2일
댓글: Meredith 2023년 10월 3일
I just upgraded to Matlab 2023_a from Matlab 2019_a and suddenly I'm receiving this error:
"Use of function save is not supported on a thread-based worker."
I call save from within the parfor loop. It has never been a problem before the Matlab upgrade.

채택된 답변

Walter Roberson
Walter Roberson 2023년 10월 2일
parpool("threads") and backgroundPool did not exist in R2019a, so you could not have been using them back then.
If your code has not changed, then possibly your parallel preferences have been set to start thread-based pools.
  댓글 수: 1
Meredith
Meredith 2023년 10월 3일
Yes, it was using the "threads" cluster instead of my local cluster ("Processes"). When I switched to Processes everything worked as usual. Thanks!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Matrix Indexing에 대해 자세히 알아보기

제품


릴리스

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by