ad1

Thursday, December 3, 2015

Check State Activity (Stateflow)

Use the in operator to check if a state is active, can be used in state actions and transitions.

Syntax
in(S)
where S is a fully qualified state name

The in operator is true and returns a value of 1 whenever state S is active; otherwise, it returns a value of 0.



No comments:

Post a Comment