Main Content

Parameters

Note

This parameter is not applicable for C code generation. To replicate this functionality for C code generation, use the Code Mappings Editor – C and Embedded Coder Dictionary.

Description

Specify whether to apply a memory section to parameters.

Category: Code Generation

Settings

Memory section specifications for functions and data apply to the top level of the model and to subsystems except atomic subsystems that contain overriding memory section specifications.

Default: Default

Default

Suppress the use of a memory section for parameters.

memory-section-name

Apply memory section for parameters.

This parameter applies to the generated global data structure that contains block parameter data.

For basic information about the global data structures generated for models, see Standard Data Structures.

Command-Line Information

Parameter: MemSecDataParameters
Type: character vector
Value: 'Default' | 'MemConst' | 'MemVolatile' | 'MemConstVolatile'
Default: 'Default'

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionNo impact

Related Topics