Update: I converted my model to 2018b, and attempted to use the Simulink Coder. This was a success. It seems to be an issue solely in 2019b. I will try the same exercise for 2020b, in the near future.
Simulink C code generation error
1 回表示 (過去 30 日間)
表示 古いコメント
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
回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!