Stateflow User's Guide Previous page   Next Page

Specifying Custom Code Options for Stateflow Targets

You include custom code in Stateflow simulation, RTW, and custom targets in the tabbed option pages of the Stateflow Target Options dialog. Use the following procedure to specify configuration options to build custom code into a Stateflow target:

  1. Open the Target Builder dialog for the Stateflow simulation, RTW, or custom target as described in the following sections:
  1. You do this when you configure one of the targets as described in the following topics:

    You also access the Target Builder dialog for an RTW or custom target when you first create it. See Adding a Stateflow Target for instructions.

  1. In the Target Builder dialog, select the Target Options button.
  1. The Target Options dialog appears, as shown:

  1. Specify your custom code in the edit boxes of the following tabbed pages of the Target Options dialog:
  2. Click Apply to apply the specification to the target or OK to apply the specifications and close the dialog.
  1. If you make a change in one of your custom code options, to force the target rebuild to incorporate your changes you must either change one of the charts slightly (this forces a rebuild when you simulate again) or go to the Simulation Target Builder dialog box and select the Rebuild All option.

References

For additional information on specifying custom code for your target, see the following online articles:


Previous page  Integrating Custom Code with Stateflow Targets Specifying Relative Paths for Custom Code Next page

© 1994-2005 The MathWorks, Inc.