BooleanChange

Indicates Boolean signal changing

    BooleanChange

Library

Modelica/Blocks/Math

Description

This block sets the Boolean output y to true, when theBoolean input u shows a rising or falling edge,i.e., when the signal changes:

y = change( u );

Ports

NameTypeDescriptionIO TypeNumber

u

implicit

Connector of Boolean input signal

input

1

y

implicit

Connector of Boolean output signal

output

1

See Also