| Using Stateflow | Search  Help Desk |
Generating Code
If you have the Stateflow Coder product, you can generate stand-alone code suitable to target for a particular processor. Stateflow generates simulation code (sfun target) for the On_off Stateflow block.
The On_off Stateflow block and its Simulink model is not designed or intended to generate stand-alone code for a specific target processor.
For More Information
See Chapter 9, "Building Targets" for more information on code generation. What Is Stateflo w?1-2
What Is a Finite State Machine?1-5
The Simulink Model and Stateflow Machine1-7