<< ld_cond_overwrite basic_ldblocks ld_cond_overwriteInt32 >>

ORTD Scilab Interface Toolbox >> basic_ldblocks > ld_cond_overwrite2

ld_cond_overwrite2

conditional overwrite of the input signal's value

Calling Sequence

[sim, out] = ld_cond_overwrite2(sim, events, in, condition, setto)

Description

out * - output (float)

in * - input (float) to potentially overwrite

condition * - condition signal (int32) -- in contrast to ld_cond_overwrite

out = in, if condition &gt; 0

out = setto, otherwise


Report an issue
<< ld_cond_overwrite basic_ldblocks ld_cond_overwriteInt32 >>