Stateflow User's Guide Previous page   Next Page

Integrating Custom Code with Stateflow Targets

For all Stateflow targets (simulation, RTW, and custom) you can configure custom code options that let you incorporate custom C or C++ code into the target you build for a model. This lets you take advantage of legacy code that augments model capabilities and lets you define and include custom global variables that can be shared by both Stateflow generated code and your custom code.

Integrate custom code with Stateflow targets as described in the following topics:


Previous page  Configuring a Custom Target in Stateflow Specifying Custom Code Options for Stateflow Targets Next page

© 1994-2005 The MathWorks, Inc.