na_0010: Usage of vector and bus signals
Since R2020a
Guideline Publication
Control Algorithm Modeling Guidelines - Using MATLAB®, Simulink®, and Stateflow®
Sub ID Recommendations
NA-MAAB — No recommendations
JMAAB — a, b, c, d
MATLAB Versions
All
Rule
Sub ID a
Mux and Demux blocks shall be used when generating and decomposing vectors.
Custom Parameter
Not Applicable
Sub ID c
Bus Creator and Bus Selector blocks shall be used when generating and decomposing buses.
Custom Parameter
Not Applicable
Sub ID d
Buses shall connect to blocks that support buses.
Custom Parameter
Not Applicable
Rationale
Sub IDs a, b, c, d:
Prevents issues that are caused by combining vector and bus signals.
Verification
Model Advisor check: Check usage of vector and bus signals (Simulink Check)
Last Changed
R2021a
Version History
Introduced in R2020a