What does the following error mean "Internal error while creating code interface description file: codeInfo.mat. Aborting code generation."

22 ビュー (過去 30 日間)
Codegen is throwing the following error when doing code generation
"Internal error while creating code interface description file: codeInfo.mat. Aborting code generation.
Caused by:
  • Index exceeds the number of array elements. Index must not exceed 0. "
The error doesn't give any more information and hence cannot figure out what is the problem. Using ert based target file.
  7 件のコメント
可华
可华 2024 年 7 月 4 日
編集済み: 可华 2024 年 7 月 4 日
Hi Umar, thanks very much.
My colleague once encountered this problem. He deleted the folder where the builded code was stored and then build it again. After multiple repeated operations, the compilation was successfully completed.
So this may not be caused by issues with the Simulink model or array data.
I saw on this website that this bug has been resolved in Matalb 2022b. But it seems that we are still facing this problem.
I don't know if this is a bug that Matlab hasn't fully resolved yet.
Umar
Umar 2024 年 7 月 4 日
No problem 可华, glad to help out. Hopefully, someone out there is trying to fix the bug.

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeAUTOSAR Blockset についてさらに検索

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by