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.

na_0010: Grouping data flows into signals

ID: Title

na_0010: Grouping data flows into signals


Strongly recommended



MATLAB Versions






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:

Vector typeSize
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:

Bus typeElements
Sensor BusForce Vector [Fx, Fy, Fz]
Wheel Speed Vector [Θlf, Θrf, Θlr, Θrr]
Controller BusSensor Bus
Actuator Bus
Serial Data BusCoolant Temperature
Engine Speed, Passenger Door Open


  • Readability

  • Code Generation

Last Changed


Model Advisor Check

By Task > Modeling Standards for MAAB > Simulink > Check usage of buses and Mux blocks

For check details, see Check usage of buses and Mux blocks (Simulink Check).

Introduced in R2010a