Main Content

Package

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 a package that contains memory sections you want to apply to functions and data.

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: ---None---

---None---

Suppresses memory sections.

Simulink

Applies the built-in Simulink® package.

mpt

Applies the built-in mpt package.

Tip

If you have defined packages of your own, click Refresh package list. This action adds user-defined packages on your search path to the package list.

Command-Line Information

Parameter: MemSecPackage
Type: character vector
Value: '--- None ---' | 'Simulink' | 'mpt'
Default: '--- None ---'

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionNo impact

Related Topics