Simulink C code generation error

5 ビュー (過去 30 日間)
Mohammed Kagalwala
Mohammed Kagalwala 2020 年 10 月 22 日
コメント済み: Mohammed Kagalwala 2020 年 11 月 17 日
I'm building a complex custom model (Matlab 2019b), I get the following error,
Unexpected or internal error encountered in "in CGIR: b:\matlab\src\cg_ir\factory\nodefactory.cpp line 494: In computeAndSetType: Type checker is unable to infer the type of Node '.(var: struct { Fields: { { Name: data Type: matrix 12 double}{ Name: size Type: matrix 1 int32} } } *, const: string)'. Please provide the type explicitly. ". Please report this to MathWorks if you can cause it to recur
I'm not sure where to start looking to try and debug the error. Any help would be greatly appreciated.
Thank you
  3 件のコメント
majety
majety 2020 年 11 月 4 日
Hi Mohammed,
I work at MathWorks and the relevant people in developement are aware of this issue. I am glad you were able to fix the issue by using the model in 2018b. If you observe this issue again, please attach a simple reproduction model so that we can further look into this issue.
Thanks
Pavani
Mohammed Kagalwala
Mohammed Kagalwala 2020 年 11 月 17 日
Thanks for your reply Pavani. I was recently able to try this on 2020b and had another success. It seems the problem has been fixed in newer versions; post 2019b.

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeDeployment, Integration, and Supported Hardware についてさらに検索

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by