<< ld_switch2to1 basic_ldblocks ld_vecXCorrelation >>

ORTD Scilab Interface Toolbox >> basic_ldblocks > ld_switch2to1Int32

ld_switch2to1Int32

A 2 to 1 switching Block

Calling Sequence

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

Description

cntr (INT32) - control input

in1 (INT32)

in2 (INT32)

out (INT32) - output

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

else : out = in2


Report an issue
<< ld_switch2to1 basic_ldblocks ld_vecXCorrelation >>