Ignore custom storage classes

Description

Specify whether to apply or ignore predefined storage classes.

Category: Code Generation > Interface

Settings

Default: off

On

Ignores predefined storage classes by treating data objects that have them as if their storage class attribute is set to Model default.

This setting does not affect these predefined storage classes:

  • ExportedGlobal

  • ImportedExtern

  • ImportedExternPointer

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