Simulink Coder Error: Error occurred when generating rtwtypes.h

21 次查看(过去 30 天)
Dear all,
I have 1 model which created by MATLAB 2015a. It ran and generated code succesful.
Now I want to build by MATLAB 2019b, error occurred as following:
Error: Simulink Coder Error: Error occurred when generating rtwtypes.h: The structure argument 'configInfo' contains invalid fields, expected fieldnames are: GenDirectory PurelyIntegerCode SupportComplex MaxMultiwordBits ModelName
I don't know why. How to fix it??
  4 个评论
Yuki Deguchi
Yuki Deguchi 2023-1-19
It was caused by a path to an older version of genRTWTYPESDOTH.m.
Removing it from the path solved the problem.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Simulink Coder 的更多信息

产品


版本

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by