Multiplex4
Multiplexer block for four input connectors
![]()
Library
Modelica/Blocks/Routing
Description
The output connector is the concatenation of the four input connectors. Note, that the dimensions of the input connector signals have to be explicitly defined via parameters n1, n2, n3 and n4.
Parameters

| Name | Label | Description | Data Type | Valid Values |
|---|---|---|---|---|
mo_n1 | n1 | Dimension of input signal connector 1 | Scalar | |
mo_n2 | n2 | Dimension of input signal connector 2 | Scalar | |
mo_n3 | n3 | Dimension of input signal connector 3 | Scalar | |
mo_n4 | n4 | Dimension of input signal connector 4 | Scalar |

| Name | Label | Description | Data Type | Valid Values |
|---|---|---|---|---|
mo_u1 | u1 | u1 | Structure | |
mo_u1/fixed | fixed | Cell of vectors | true | |
mo_u1/start | start | Cell of vectors | ||
mo_u2 | u2 | u2 | Structure | |
mo_u2/fixed | fixed | Cell of vectors | true | |
mo_u2/start | start | Cell of vectors | ||
mo_u3 | u3 | u3 | Structure | |
mo_u3/fixed | fixed | Cell of vectors | true | |
mo_u3/start | start | Cell of vectors | ||
mo_u4 | u4 | u4 | Structure | |
mo_u4/fixed | fixed | Cell of vectors | true | |
mo_u4/start | start | Cell of vectors | ||
mo_y | y | y | Structure | |
mo_y/fixed | fixed | Cell of vectors | true | |
mo_y/start | start | Cell of vectors |
Ports
| Name | Type | Description | IO Type | Number |
|---|---|---|---|---|
u1 | implicit | Connector of Real input signals 1 | input | 1 |
u2 | implicit | Connector of Real input signals 2 | input | 2 |
u3 | implicit | Connector of Real input signals 3 | input | 3 |
u4 | implicit | Connector of Real input signals 4 | input | 4 |
y | implicit | Connector of Real output signals | output | 1 |