.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-11-14T19:25:47Z by OpenModelicaOpenModelica 1.24.0 using GenerateDoc.mos