Memory mismatch exception in parfor

I am using MATLAB 2021a and I am trying to parallelize my former serial code using parfor, unfortunately at some point I keep getting this error that
Error: Memory mismatch exception due to extraction failure.
Exception Corrupt script.
This occur within a while loop located in the parfor loop, the error did not point to any particular line and it just stops like that. Please what could this error mean?

1 件のコメント

Edric Ellis
Edric Ellis 2023 年 1 月 6 日
I can't find any reference to either of those messages in the MathWorks code-base. Are you running any external processes within your parfor loop? Do you have a set of minimal reproduction steps that demonstrate the error?

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeLoops and Conditional Statements についてさらに検索

製品

リリース

R2021a

質問済み:

2023 年 1 月 5 日

コメント済み:

2023 年 1 月 6 日

Community Treasure Hunt

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

Start Hunting!

Translated by