<< ld_sumInt32 basic_ldblocks ld_switch2to1 >>

ORTD Scilab Interface Toolbox >> basic_ldblocks > ld_switch

ld_switch

A switching Block

Calling Sequence

[sim,out_1, out_2] = ld_switch(sim, events, cntrl, in)

Description

inputs = [control_in, signal_in]

if control_in &gt; 0 : signal_in is directed to output 1; output_2 is set to zero

if control_in &lt; 0 : signal_in is directed to output 2; output_1 is set to zero


Report an issue
<< ld_sumInt32 basic_ldblocks ld_switch2to1 >>