blockLatchHold

Latches output based on input and trigger

Extends from Modelica.Blocks.Interfaces.SISO (Single Input Single Output continuous control block).

Information

The output follows the input when the trigger is false and holds constant at the previous input value when the trigger is true.

Connectors

TypeNameDefaultDescription
RealInputu (from SISO)Connector of Real input signal
RealOutputy (from SISO)Connector of Real output signal
Modelica.Blocks.Interfaces.BooleanInputtriggerLatch trigger

Components

TypeNameDefaultDescription
RealcValue when trigger is activated