| Stateflow User's Guide | ![]() |
Starting the Build
Once you have completely configured a Stateflow simulation or RTW target, you want to start the build process to generate code from your model and compile it. This section describes how to start a build for a simulation target or Real-Time Workshop target in Stateflow with the following topics:
sfun).
rtw).
Starting a Simulation Target Build
You can start a target build for a Stateflow simulation target (sfun) in one of the following ways:
Use this option if you want to build a simulation target without running it. You would typically want to do this to ensure that Stateflow can build a target containing custom code.
Using the target builder to launch the build allows you to choose between an incremental build, a full build, and a build without code generation. See Configuring a Simulation Target for Stateflow for more information.
Starting an RTW Target Build
You can start a target build for a Stateflow Real-Time Workshop (rtw) target in one of the following ways:
You must use this option to build stand-alone targets. Using the target builder to launch the build allows you to choose between full build or rebuild and a build of Stateflow code only. See Configuring Real-Time Workshop for Stateflow for more information.
Select Real-Time Workshop options on the RTW Target Builder dialog box to access the Simulation Parameters dialog box of Simulink. See Configuring Real-Time Workshop for Stateflow for more information.
| Calling Graphical Functions from Custom Code | Parsing Stateflow Diagrams | ![]() |
© 1994-2005 The MathWorks, Inc.