Code templates: Source file (*.c) template

Description

Specify the code generation template (CGT) file to use when generating a source code file.

Category: Code Generation > Templates

Settings

Default: ert_code_template.cgt

You can use a CGT file to define the top-level organization and formatting of generated source code files (.c or .cpp).

Note

The CGT file must be located on the MATLAB® path.

Command-Line Information

Parameter: ERTSrcFileBannerTemplate
Type: character vector
Value: valid CGT file
Default: 'ert_code_template.cgt'

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionNo impact

Related Topics