Element name mismatch
Diagnostic action to take when bus element name does not match corresponding bus element object name
Model Configuration Pane: Diagnostics / Connectivity
Description
The Element name mismatch configuration parameter determines the
diagnostic action to take if the name of a bus element does not match the name specified
by the corresponding Simulink.BusElement object.
Settings
warning (default) | none | errornoneThe software takes no action.
warningThe software displays a warning.
errorThe software terminates the simulation and displays an error message.
Tips
To ensure that your model meets bus element naming requirements imposed by some blocks, such as the Switch block, you can use this diagnostic along with
Simulink.Busobjects.To enforce strong data typing with a Bus Creator block that specifies a
Simulink.Busobject and has Element name set toFrom inputs, set this diagnostic toerror.
Recommended Settings
| Application | Setting |
|---|---|
| Debugging | No impact |
| Traceability | No impact |
| Efficiency | No impact |
| Safety precaution | error |
Programmatic Use
Parameter:
BusObjectLabelMismatch |
Value: 'none' | 'warning' | 'error' |
Default: 'warning' |
Version History
Introduced before R2006a