Import Generated Code

Import source and header files generated by Simulink Coder software, and custom files specified as part of model

Description

This component imports source and header files generated by Simulink® Coder™ software. It also imports custom files that you specify as part of your model.

Properties

  • Source files (auto-generated): Includes the following files in the report:

    • .c and .cpp source files generated by Simulink Coder software.

    • Simulink Coder source files, such as the setup file and supporting files in the build folder.

    This check box is selected by default. Clear it to omit source files.

  • Header files (auto-generated): Includes the following files in the report:

    • .h and .hpp header files generated by Simulink Coder software.

    • Simulink Coder header files in the build folder.

    This check box is selected by default. Clear it to omit source files.

  • Custom files: Includes custom source files that you specify in the Code Generation > Custom Code pane of the Configuration Parameters dialog box. This check box is deselected by default.

Insert Anything into Report?

Yes. Generated code listings.

Class

RptgenRTW.CImportCode

Was this topic helpful?