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
| Type | Name | Default | Description |
|---|---|---|---|
| RealInput | u (from SISO) | Connector of Real input signal | |
| RealOutput | y (from SISO) | Connector of Real output signal | |
| Modelica.Blocks.Interfaces.BooleanInput | trigger | Latch trigger |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Real | c | Value when trigger is activated |