Main Content

Bus signal treated as vector


Select the diagnostic action to take when Simulink® software detects a virtual bus signal treated as a vector signal.

Category: Diagnostics


Default: none


Disables checking for virtual bus signals treated as vector signals.


Simulink displays a warning if it detects a virtual bus signal treated as a vector signal.


Simulink terminates the simulation and displays an error message when it builds a model that uses a virtual bus signal treated as a vector signal.


  • The diagnostic considers a virtual bus signal to be treated as a vector signal if the signal is input to a block that does not accept virtual bus signals. See Bus-Capable Blocks for details.

  • Virtual buses can be treated as vector signals only when all constituent signals have the same attributes.

  • You can identify bus signals that are treated as a vectors using the Model Advisor Check bus signals treated as vectors check.

Command-Line Information

Parameter: StrictBusMsg
Value: 'ErrorLevel1' | 'WarnOnBusTreatedAsVector' | 'ErrorOnBusTreatedAsVector'
Default: 'ErrorLevel1'

Here is how the StrictBusMsg parameter values map to the values of the Bus signal treated as vector parameter in the Configuration Parameters > Diagnostics > Connectivity dialog box.

Value of StrictBusMsgValue of “Bus signal treated as vector” diagnostic

Recommended Settings

DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionerror

See Also


Related Topics