Multiplex2
Multiplexer block for two input connectors
Library
Modelica/Blocks/Routing
Description
The output connector is the concatenation of the two input connectors. Note, that the dimensions of the input connector signals have to be explicitly defined via parameters n1 and n2.
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 |
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_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 |
y | implicit | Connector of Real output signals | output | 1 |