Main Content

Element name mismatch

Diagnostic action to take when bus element name does not match corresponding bus element object name

Model Configuration Pane: Diagnostics / Connectivity


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.


warning (default) | none | error



The software takes no action.


The software displays a warning.


The software terminates the simulation and displays an error message.


  • You can use this diagnostic along with bus objects to ensure that your model meets bus element naming requirements imposed by some blocks, such as the Switch block.

  • With a Bus Creator block, you can enforce strong data typing by using the Use names from inputs instead of from bus object block parameter.

Recommended Settings

DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionerror

Programmatic Use

Parameter: BusObjectLabelMismatch
Value: 'none' | 'warning' | 'error'
Default: 'warning'

Version History

Introduced before R2006a