.ModelicaReference.Operators.'previous()'

Information

Gives the previous value of a clocked expression as part of the synchronous language elements.

Syntax

previous(u)

Description

The return argument has the same type as the input argument. Input and return arguments are on the same clock. At the first tick of the clock of u or after a reset transition, the start value of u is returned. At subsequent activations of the clock of u, the value of u from the previous clock activation is returned.


Generated at 2024-11-14T19:25:47Z by OpenModelicaOpenModelica 1.24.0 using GenerateDoc.mos