Mute a signal based on cntrl-signal
[sim, y] = ld_mute( sim, ev, u, cntrl, mutewhengreaterzero )
ev - event
u * - input
y * - output
mutewhengreaterzero - boolean parameter (%T, %F)
if mutewhengreaterzero == %T then
y = 0 for cntrl > 0
y = u for cntrl < 0
else
y = 0 for cntrl < 0
y = u for cntrl > 0