This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Bus signal treated as vector

Description

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

Category: Diagnostics

Settings

Default: none

none

Disables checking for virtual bus signals treated as vector signals.

warning

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

error

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.

Tips

  • 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
ErrorLevel1none
WarnOnBusTreatedAsVectorwarning
ErrorOnBusTreatedAsVectorerror

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionerror

See Also

Functions

Related Topics