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

5 vues (au cours des 30 derniers jours)
HEONGTAE
HEONGTAE le 10 Nov 2022
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

Réponses (1)

Atharva
Atharva le 13 Sep 2023
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!

Catégories

En savoir plus sur Simulink Coder dans Help Center et File Exchange

Produits


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by