.ModelicaReference.Operators.'sample()clocked'

Information

Samples a value according to a clock as part of the synchronous language elements.

Syntax

sample(u)
sample(u, c)

Description

The operator returns a clocked variable that has c as associated clock and has the value of the left limit of u when c is active (that is the value of u just before the event of c is triggered). If argument c is not provided, it is inferred

The return argument has the same type as the first input argument. The optional argument c is of type Clock.


Generated at 2024-04-18T18:15:58Z by OpenModelicaOpenModelica 1.22.3 using GenerateDoc.mos