Main Content

Ignore custom storage classes

Whether to apply predefined storage classes

Model Configuration Pane: Code Generation / Interface

Description

The Ignore custom storage classes parameter specifies whether to apply storage classes that Simulink® defines.

Clear this parameter to enable module packaging features.

Settings

off (default) | on
On

If a storage class is individually specified (for example, by using the Code Mappings Editor or a data object), the code generator treats the storage class as Model default. If a storage class is specified in the Code Mappings editor on the Data Defaults tab, the storage class is treated as "Default". ExportedGlobal, ImportedExtern, and ImportedExternPointer are three exceptions that are not affected by this parameter setting.

Off

Applies predefined storage classes as configured. Clear this parameter if the model defines data objects that have predefined storage classes.

Tips

  • Clear this parameter before configuring data objects that have predefined storage classes.

  • The setting for top-level and referenced models must match.

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionNo impact

Programmatic Use

Parameter: IgnoreCustomStorageClasses
Type: character vector
Value: 'on' | 'off
Default: 'off'

Version History

Introduced before R2006a