Main Content

Units inconsistency messages

Diagnostic behavior when model contains unit inconsistencies

Model Configuration Pane: Diagnostics

Description

This parameter specifies whether the software issues a warning when the model contains inconsistent units.

Settings

warning (default) | none
warning

The software issues a warning when the model contains unit inconsistencies.

none

The software does not issue a diagnostic when the model contains unit inconsistencies.

Recommended Settings

The table summarizes recommended values for this parameter based on considerations related to code generation.

ApplicationSetting
DebuggingNo recommendation
TraceabilityNo recommendation
EfficiencyNo recommendation
Safety precautionNo recommendation

Programmatic Use

Parameter: UnitsInconsistencyMsg
Type: string | character vector
Values: 'warning' | 'none'
Default: 'warning'

Version History

Introduced in R2016a