Switch_Logic

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

Methods

Arguments

Return Value

y

l:: logical

logical

u1:: logical

u2:: logical

On activation of method

y

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