フィルターのクリア

Error parfor loop: Unexpected failure to indicate all intervals added

12 ビュー (過去 30 日間)
Lei LIU
Lei LIU 2021 年 6 月 15 日
編集済み: xingjian tao 2022 年 4 月 22 日
1. Version: Matlab 2019b; and using 'local' cluster of my laptop
2. Code:
parfor ii=1:Num
pv_eci=TEME2ECI(Epoch_TLE(ii), PV_teme(ii,:)', GLBL_INIT);
end
3. Error information:
Error using distcomp.remoteparfor/rebuildParforController (line 217)
Unexpected failure to indicate all intervals added.
Error in distcomp.remoteparfor/handleIntervalErrorResult (line 253)
obj.rebuildParforController();
Error in distcomp.remoteparfor/getCompleteIntervals (line 387)
[r, err] = obj.handleIntervalErrorResult(r);
Error in Collision_0615/Button_FileReadPushed (line 342)
parfor ii=1:Num
Error using matlab.ui.control.internal.controller.ComponentController/executeUserCallback (line 335)
4. The above code can run right with using the 'for ' loop, but fail with the 'parfor' loop.
However, no useful answers for the issue.
6. It seems that the issue is caused by the internal error and appears frequently, so it should be valued and addressed by the developer.
7. Should I use the latest version to solve the problem?
Thanks.
  2 件のコメント
Lei LIU
Lei LIU 2021 年 6 月 15 日
Supplementary notes:
8. The parfor loop is used in AppDesigner. When I debug the code and stop at the last line before the loop, the parfor loop can run right when it is copied to the command window. However, the issue appears when I continue to debug and execute the loop in AppDesigner.
xingjian tao
xingjian tao 2022 年 4 月 22 日
編集済み: xingjian tao 2022 年 4 月 22 日
I met the same question and sloved it.The reason is that my function was not at the same folder as my main code.

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

タグ

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by