Initialize/Terminate

Description

Specify whether to apply a memory section to Initialize/Start and Terminate functions.

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 Initialize, Start, and Terminate functions.

memory-section-name

Applies a memory section to Initialize, Start, and Terminate functions.

Command-Line Information

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

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionNo impact

Related Topics