フィルターのクリア

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

39 ビュー (過去 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 Center および File ExchangeMatrix Indexing についてさらに検索

製品


リリース

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by