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 theData Defaults
tab, the storage class is treated as "Default".ExportedGlobal
,ImportedExtern
, andImportedExternPointer
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
Application | Setting |
---|---|
Debugging | No impact |
Traceability | No impact |
Efficiency | No impact |
Safety precaution | No impact |
Programmatic Use
Parameter: IgnoreCustomStorageClasses |
Type: character vector |
Value: 'on' | 'off |
Default: 'off' |
Version History
Introduced before R2006a