Simulink Coder Error: Error occurred when generating rtwtypes.h
23 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Yuki Deguchi
il 19 Gen 2023
It was caused by a path to an older version of genRTWTYPESDOTH.m.
Removing it from the path solved the problem.
Risposte (0)
Vedere anche
Categorie
Scopri di più su Simulink Coder in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!