Units inconsistency messages
Diagnostic action to take when model contains unit inconsistencies
Model Configuration Pane: Diagnostics
Description
The Units inconsistency messages parameter specifies the diagnostic action to take when the model contains inconsistent units.
Settings
warning (default) | nonewarningThe software issues a warning when the model contains unit inconsistencies.
noneThe 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.
| Application | Setting |
|---|---|
| Debugging | No recommendation |
| Traceability | No recommendation |
| Efficiency | No recommendation |
| Safety precaution | No recommendation |
Programmatic Use
Parameter:
UnitsInconsistencyMsg |
| Type: string | character vector |
Values:
"warning" | "none" |
Default:
"warning" |
Version History
Introduced in R2016a