MATLAB Answers

Simulink Coder Error: Error occurred when generating rtwtypes.h

18 views (last 30 days)
galaxy
galaxy on 1 Apr 2020
Commented: Spencer Chen on 22 Apr 2020
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??
  1 Comment
Spencer Chen
Spencer Chen on 22 Apr 2020
It maybe that you need to update/replace some of the old blocks for the new version of Matlab/Simulink. There's a "Upgrade Advisor" tool hiddent somewhere in the menus that may help you.
Blessings,
Spencer

Sign in to comment.

Answers (0)

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by