Select the diagnostic action to take when Simulink® software detects a virtual bus signal treated as a vector signal.
Category: Diagnostics
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.
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.
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 StrictBusMsg | Value of “Bus signal treated as vector” diagnostic |
---|---|
ErrorLevel1 | none |
WarnOnBusTreatedAsVector | warning |
ErrorOnBusTreatedAsVector | error |
Application | Setting |
---|---|
Debugging | No impact |
Traceability | No impact |
Efficiency | No impact |
Safety precaution | error |