Main Content

Duplicate data store names

Diagnostic action to take if model contains multiple data stores with same name

Model Configuration Pane: Diagnostics / Data Validity

Description

The Duplicate data store names parameter specifies the diagnostic action to take if the model contains multiple data stores that have the same name. The data stores can be defined using Data Store Memory block or Simulink.Signal objects.

To detect when a lower-level data store unexpectedly shadows a higher-level data store with the same name, set this parameter to warning or error.

Settings

none (default) | warning | error
none

The software does not issue a diagnostic if multiple data stores in the model have the same name.

warning

The software issues a warning if multiple data stores in the model have the same name.

error

The software issues an error and terminates the simulation if multiple data stores in the model have the same name.

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionNo impact

Programmatic Use

Parameter: UniqueDataStoreMsg
Type: string | character vector
Value: "none" | "warning" | "error"
Default: "none"

Version History

Introduced before R2006a