Simulink Coder Error: Error occurred when generating rtwtypes.h

조회 수: 21 (최근 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 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