Main Content
Code Generation
Generate C or C++ code from your chart
If you have Simulink® Coder™ or Embedded Coder®, you can generate C or C++ code from models that include Stateflow® blocks.
Topics
- Generate C or C++ Code from Stateflow Blocks
Generate code from models that include Stateflow blocks.
- Generate Code from Atomic Subcharts
Produce standalone code for linked and unlinked atomic subcharts.
- Select Array Layout for Matrices in Generated Code
Implement array data in column-major, row-major, or multidimensional layouts.
Related Information
- Trace Stateflow Elements in Generated Code (Embedded Coder)
- Enhance Readability of Code for Flow Charts (Embedded Coder)