I want to rename the "rtwtypes.h" file generated during code generation.
    10 views (last 30 days)
  
       Show older comments
    
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
0 Comments
Answers (1)
  Atharva
    
 on 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!
0 Comments
See Also
Categories
				Find more on Simulink Coder in Help Center and File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
