Simulink Coder Error: Error occurred when generating rtwtypes.h

22 ビュー (過去 30 日間)
galaxy
galaxy 2020 年 4 月 1 日
コメント済み: Yuki Deguchi 2023 年 1 月 19 日
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 件のコメント
昌龍 楊
昌龍 楊 2022 年 4 月 8 日
I got a same error message. Did you solve it?
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 Center および File ExchangeSimulink Coder についてさらに検索

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by