Main Content

Data declaration filename

Description

Specify the name of the file that is to contain data declarations.

Category: Code Generation > Code Placement

Settings

Default: global.h

The code generator organizes and formats the data declarations in the specified file based on the data header template specified by the Header file (*.h) template parameter in the data section of the Code Generation pane: Templates tab.

Limitation

The code generator does not check for unique filenames. Specify filenames that do not collide with default filenames from code generation.

Dependency

This parameter is enabled by Data declaration.

Command-Line Information

Parameter: DataReferenceFile
Type: character vector
Value: a valid file
Default: 'global.h'

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityA valid file
EfficiencyNo impact
Safety precautionNo impact

See Also

Related Topics