Info

此问题已关闭。 请重新打开它进行编辑或回答。

Matlab parallel bug in win 11?

1 次查看(过去 30 天)
Felix
Felix 2023-2-16
关闭: Edric Ellis 2023-2-17
Matlab behavies differently when running identical code on win10 and win 11, using asyncio ect.. i.e., Matlab throws error ' xxx not compatible with a thread-based environment' when runing on win11, when using function 'parfeval',but runs fine in win10.
Are there any workarounds other than going back to win10? The new laptops these day does not support win10 anymore.
Maybe it has something to do with the intel 12-th gen e-core, p-core? It seems the task schedular of win10 and win11 behaves differently.
Best regards,
--------------------------------
Edit.
The problem is in fact matlab r2022a. When using r2022b the code runs fine in either win10 or win11.
Many thanks for everyone`s help!
  3 个评论
Raymond Norris
Raymond Norris 2023-2-16
W10 and W11 are both running R2022a?
Felix
Felix 2023-2-17
Ok the problem is actually R2022a. When using R2022b the code runs fine in either win10 or win11.
Thank you very much.

回答(0 个)

此问题已关闭。

产品


版本

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by