blockChange

Output y is true, if the input u has a rising or falling edge (y = change(u))

Extends from Blocks.Interfaces.partialBooleanSISO (Partial block with 1 input and 1 output Boolean signal).

Information

The output is true if the Boolean input has either a rising edge from false to true or a falling edge from true to false, otherwise the output is false.

Parameters

TypeNameDefaultDescription
Booleanpre_u_startfalseStart value of pre(u) at initial time

Connectors

TypeNameDefaultDescription
Blocks.Interfaces.BooleanInputu (from partialBooleanSISO)Connector of Boolean input signal
Blocks.Interfaces.BooleanOutputy (from partialBooleanSISO)Connector of Boolean output signal