Main Content

Data declaration filename

File to contain deta declarations

Model Configuration Pane: Code Generation / Code Placement

Description

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

Dependencies

This parameter is enabled by Data declaration.

Settings

global.h (default) | header file name

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.

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityA valid file
EfficiencyNo impact
Safety precautionNo impact

Programmatic Use

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

Version History

Introduced before R2006a