| 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 "Building Targets" for more information on code generation.