Action Language Syntax
Use MATLAB or C as the action language with operators, data types,
and built-in functions to control state and transition behavior in
Stateflow charts
Create charts that use MATLAB or C as the action language in states and transitions. C charts support zero-based array indexing, binary and bitwise operations, and common C language syntax abbreviations.
Functions
sfpref | Set preferences for Stateflow charts |
Stateflow Syntax
Topics
- Differences Between MATLAB and C as Action Language Syntax
Compare the functionality of the chart action languages.
- Modify the Action Language for a Chart
Change the action language property of a chart.
- Operations for Stateflow Data
Perform mathematical computations in Stateflow® charts.
- Access MATLAB Functions and Workspace Data in C Charts
Call built-in MATLAB® functions by using the
mloperator. - Call C Library Functions
Access C functions in state and transition labels.