Main Content

Ignore custom storage classes

Description

Specify whether to apply or ignore predefined storage classes.

Category: Code Generation > Interface

Settings

Default: off

On

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.

Off

Applies predefined storage classes as specified. You must clear this option 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.

Dependencies

  • 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

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionNo impact

Related Topics