The header file of my generated code contains unused include statements as #include stdlib.h #include math.h #include stddef.h
Also it has following comments at the end of file
/* * The generated code includes comments that allow you to trace directly * back to the appropriate location in the model. The basic format * is <system>/block_name, where system is the system number (uniquely * assigned by Simulink) and block_name is the name of the block. * * Use the MATLAB hilite_system command to trace the generated code back * to the model. For example, * * hilite_system('<S3>') - opens system 3 * hilite_system('<S3>/Kp') - opens and selects block Kp which resides in S3 * * Here is the system hierarchy for this model * * '<Root>' : cmp * '<S1>' : cmp/Subsystem * '<S2>' : cmp/Subsystem/Chart */Can anybody have idea how to suppress unwanted lines from generated code.
Thanks.
Best Answer