Matlab parallel bug in win 11?

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 Comments

Perhaps the default pools have been configured differently ?
W10 and W11 are both running R2022a?
Ok the problem is actually R2022a. When using R2022b the code runs fine in either win10 or win11.
Thank you very much.

Answers (0)

This question is closed.

Products

Release

R2022a

Asked:

on 16 Feb 2023

Closed:

on 17 Feb 2023

Community Treasure Hunt

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

Start Hunting!