Mux - Combine several input signals into vector

Library

Signal Routing

Description

The Mux block combines its inputs into a single vector output. An input can be a scalar or vector signal. All inputs should be of the same data type and numeric type. The elements of the vector output signal take their order from the top to bottom, or left to right, input port signals.

The Mux block's Number of Inputs parameter allows you to specify input signal names and sizes as well as the number of inputs. You can use any of the following formats to specify this parameter:

Data Type Support

The Mux block accepts real or complex signals of any data type supported by Simulink software, including fixed-point data types.

For a discussion on the data types supported by Simulink software, see Data Types Supported by Simulink® in the Simulink documentation.

Parameters and Dialog Box

Number of inputs

The number and size of inputs. You can enter a comma-separated list of signal names for this parameter field.

Display option

The appearance of the block in the model.

Display OptionAppearance of Block in Model

none

Mux appears inside the block

signals

Displays signal names next to each port

bar

Displays the block in a solid foreground color

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS