.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 2024-12-21T19:25:56Z by OpenModelicaOpenModelica 1.24.3 using GenerateDoc.mos