Switch_Real

Switch_Real performs switch functionality with real data types and acts as a signal path switch. The block's input value has a direct effect on the output value.

Methods

Arguments

Return Value

y

l:: logical

continuous

u1:: continuous

u2:: continuous

On activation of method

y

Returns u1 (real value), if l is TRUE. Otherwise, u2 (real value) is returned.