Main Content

Inputs/Outputs

Description

Specify whether to apply a memory section to root input and output.

Category: Code Generation

Settings

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

Default: Default

Default

Suppresses the use of a memory section for root-level input and output.

memory-section-name

Applies a memory section for root-level input and output.

This parameter applies to the generated global data structures that contain:

  • Root-level inputs

  • Root-level outputs

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

Command-Line Information

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

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionNo impact

Related Topics