Stateflow | ![]() ![]() |
Temporal Logic Operators
Temporal logic operators are Boolean operators that operate on recurrence counts of Stateflow events. Stateflow defines the following temporal operators
after
before
at
every
The following sections explain the syntax and meaning of these operators and gives examples of their usage.
Usage Rules
The following rules apply generally to use of temporal logic operators.
Note that temporal logic operators cannot operate on recurrences of implicit events, such as state entry or exit events.
Note that this means you cannot use temporal logic operators as conditions on default transitions or flow graph transitions.
The state on which the temporally conditioned transition originates or in whose during action the condition appears is called the temporal operator's associated state.
The following diagram illustrates the usage and terminology that apply to temporal logic operators
.
![]() | Comments | After Operator | ![]() |