WOLFRAM SYSTEM MODELER

'sample()clocked'

sample() Clocked

Wolfram Language

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

Information

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

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.