Multiplexer

This blocks allows to merge several distinctive signals into a vector.

Multiplexer block

The type of the inputs could be of any type such as

Mux<2> m1; 

The output of this multiplexer will be of type Matrix<2,1,double> or Vector2. Another case is

Mux<2,Vector2> m2;

Here, the inputs are of type Vector2 and the output is of type Matrix<2,1,Vector2>.