Simulink Coder Error: Error occurred when generating rtwtypes.h

21 Ansichten (letzte 30 Tage)
galaxy
galaxy am 1 Apr. 2020
Kommentiert: Yuki Deguchi am 19 Jan. 2023
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 Kommentare
昌龍 楊
昌龍 楊 am 8 Apr. 2022
I got a same error message. Did you solve it?
Yuki Deguchi
Yuki Deguchi am 19 Jan. 2023
It was caused by a path to an older version of genRTWTYPESDOTH.m.
Removing it from the path solved the problem.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Simulink Coder finden Sie in Help Center und File Exchange

Produkte


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by