'activeState()'

activeState()

Information

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

This operator returns true if state is active in a state machine.

Syntax

activeState(state)

Description

Argument state is a block instance. The operator returns true, if this instance is a state of a state machine and this state is active at the actual clock tick. If it is not active, the operator returns false.