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

FSM Representations1-5

Stateflow Representations1-5

Notations1-6

Semantics1-6

References1-6

The Simulink Model and Stateflow Machine1-7

The Power Switch Model1-21



[ Previous | Help Desk | Next ]