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