<< ld_Timer basic_ldblocks ld_VarVec_AbsSumNorm >>

ORTD Scilab Interface Toolbox >> basic_ldblocks > ld_TrigSwitch1toN

ld_TrigSwitch1toN

Switch N inputs to one output signal based on event pulses

Calling Sequence

[sim, out] = ld_TrigSwitch1toN(sim, events, Event, SwitchInputList, InitialState)

Description

Event * - vector signal

SwitchInputList list() of * with N elements

out * - is set to the input if SwitchInputList(state), whereby &quot;state" is the current state that can be changed

giving inpulses to Event, whose intensity correspond to the state to switch to. Event &lt;0.5 does not change

the state.


Report an issue
<< ld_Timer basic_ldblocks ld_VarVec_AbsSumNorm >>