Main Content

na_0010: Usage of vector and bus signals

Sub ID Recommendations

  • NA-MAAB — a, b, c, d

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

Mux block inputs shall be scalars and 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

R2020a

Introduced in R2020a