Element name mismatch

Description

Select the diagnostic action to take if the name of a bus element does not match the name specified by the corresponding bus object.

Category: Diagnostics

Settings

Default: warning

none

Simulink® software takes no action.

warning

Simulink software displays a warning.

error

Simulink software terminates the simulation and displays an error message.

Tips

  • 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.

  • In a Bus Creator block, you can enforce strong data typing. See the tips section for the Bus Creator Override bus signal names from inputs parameter.

Command-Line Information

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

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionerror

Related Topics