Use of function save is not supported on a thread-based worker
37 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Meredith
am 2 Okt. 2023
Kommentiert: Meredith
am 3 Okt. 2023
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.
0 Kommentare
Akzeptierte Antwort
Walter Roberson
am 2 Okt. 2023
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.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Matrix Indexing finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!