I want to rename the "rtwtypes.h" file generated during code generation.

조회 수: 7 (최근 30일)
HEONGTAE
HEONGTAE 2022년 11월 10일
답변: Atharva 2023년 9월 13일
When I build simulink model, the "rtwtypes.h" file is created.
I want to rename "rtwtypes.h" to whatever I want, like "rtwtypes_AAA.h".
Please let me know it is possible or not. If possible, please tell me how

답변 (1개)

Atharva
Atharva 2023년 9월 13일
Hey HEONGTAE,
I understand that you want to Customize the name of "rtwtypes.h" in generated code.
Unfortunately, rtwtypes.h is a dynamically generated header file, it is not statically pulled in from matlabroot.​​​​​​​ You cannot customize the name "rtwtypes.h".
You can refer to the Mathworks documentation Customize Post-Code-Generation Build Processing for further details on post processing of generated code.
I hope this helps!

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by