<< ld_switch basic_ldblocks ld_switch2to1Int32 >>

ORTD Scilab Interface Toolbox >> basic_ldblocks > ld_switch2to1

ld_switch2to1

A 2 to 1 switching Block

Calling Sequence

[sim, out] = ld_switch2to1(sim, events, cntrl, in1, in2)

Description

cntr * - control input

in1 *

in2 *

out * - output

if cntrl &gt; (greather than) 0 : out = in1

if cntrl &lt; (smaller than) 0 : out = in2


Report an issue
<< ld_switch basic_ldblocks ld_switch2to1Int32 >>