Main Content
C Action Language
Use C language syntax in state and transition actions
Create charts that use 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 |
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.
- Call C Library Functions in C Charts
Access C functions in state and transition labels.
- Access MATLAB Functions and Workspace Data in C Charts
Call built-in MATLAB® functions by using the
ml
operator.