WOLFRAM SYSTEM MODELER

'hold()'

hold()

Wolfram Language

In[1]:=
SystemModel["ModelicaReference.Operators.'hold()'"]
Out[1]:=

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

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.