A 2 to 1 switching Block
[sim, out] = ld_switch2to1(sim, events, cntrl, in1, in2)
cntr * - control input
in1 *
in2 *
out * - output
if cntrl > (greather than) 0 : out = in1
if cntrl < (smaller than) 0 : out = in2