Main Content

Ignore custom storage classes


Specify whether to apply or ignore predefined storage classes.

Category: Code Generation > Interface


Default: off


If a storage class is individually specified (e.g., through the Code Mappings Editor or a data object), it is treated as Model default. If a storage class is specified in Data Defaults in the Code Mappings editor, it is treated as "Default". ExportedGlobal, ImportedExtern, and ImportedExternPointer are three exceptions that are not affected by this option.


Applies predefined storage classes as specified. You must clear this option if the model defines data objects that have predefined storage classes.


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

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


  • This parameter appears only for ERT-based targets.

  • Clear this parameter to enable module packaging features.

  • This parameter requires Embedded Coder® when you generate code.

Command-Line Information

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

Recommended Settings

DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionNo impact

Related Topics