Overview
The actions associated with states, transitions and default entrances as well as transition guard conditions are defined using statements of the FSM action language.
The FSM action language is based on the C/C++ syntax. Additionally, the FSM action language includes a set of built-in functions, mainly to provide a comfortable handling of FSM interface elements and MLDesigner data structures. It supports the following operations:
- read access to data of input ports
- write access to data of output ports
- read and write access to data of memory arguments
- read and write access to data of event arguments
- schedule and cancel special event arguments
- read access to data of parameter arguments
- read and write access to data structure member fields
- relational and logical expressions
- math operations
- control structures and loops (if, else, switch, for, while, etc.)
- built-in functions for number generators
- built-in functions for queue and vector operations
- built-in functions for simulation reports