Model Configuration Parameters: Code Generation Templates
The Code Generation > Templates category includes parameters for customizing the organization of your generated code. On the Configuration Parameters dialog box, the following configuration parameters are on the Code Generation > Templates pane.
Parameter | Description |
---|---|
Specify the code generation template (CGT) file to use when generating a source code file. | |
Specify the code generation template (CGT) file to use when generating a code header file. | |
Specify the code generation template (CGT) file to use when generating a data source file. | |
Specify the code generation template (CGT) file to use when generating a data header file. | |
Specify the custom file processing (CFP) template file to use when generating code. | |
Control whether to generate an example main program for a model. | |
Specify a target operating system to use when generating model-specific example main program module. |
The following parameters in the Advanced parameters section are infrequently used.
Parameter | Description |
---|---|
Generate full header including time stamp. For GRT targets, this parameter is on the Code Generation > Interface pane. | |
If this option is cleared, the configurations for Code and Data templates are ignored. |