Main Content

Code templates: Header file (*.h) template

Template for generated code header

Model Configuration Pane: Code Generation / Templates

Description

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

Settings

ert_code_template.cgt (default) | CGT file

Default: ert_code_template.cgt

You can use a CGT file to define the top-level organization and formatting of generated header files (.h ).

Note

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

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionNo impact

Programmatic Use

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

Version History

Introduced before R2006a