.ModelicaReference.Operators.'hold()'

Information

Returns a piecewise constant signal based on a clocked variable as part of the synchronous language elements.

Syntax

hold(u)

Description

Input argument u is a clocked Component Expression or a parameter expression. The operator returns a piecewise constant signal of the same type of u. When the clock of u ticks, the operator returns u and otherwise returns the value of u from the last clock activation. Before the first clock activation of u, the operator returns the start value of u.


Generated at 2020-06-05T21:39:08Z by OpenModelica 1.16.0~dev-442-g2e5bc9f