The individual scalar signals composing a vector must have common functionality, data types, dimensions, and units. The most common example of a vector signal is sensor or actuator data that is grouped into an array indexed by location. The output of a Mux block must always be a vector. The inputs to a Mux block must always be scalars.
Signals that do not meet criteria for use as a vector, as previously described, must only be grouped into bus signals. Use Bus Selector blocks only with a bus signal input; do not use them to extract scalar signals from vector signals.
Some examples of vector signals include:
|Row vector||[1 n]|
|Column vector||[n 1]|
|Wheel speed vector||[1 Number of wheels]|
|Cylinder vector||[1 Number of cylinders]|
|Position vector based on 2D coordinates||[1 2]|
|Position vector based on 3D coordinates||[1 3]|
Some examples of bus signals include:
|Sensor Bus||Force Vector [Fx, Fy, Fz]|
|Wheel Speed Vector [Θlf, Θrf, Θlr, Θrr]|
|Controller Bus||Sensor Bus|
|Serial Data Bus||Coolant Temperature|
|Engine Speed, Passenger Door Open|
By Task > Modeling Standards for MAAB > Simulink > Check usage of buses and Mux blocks