| Stateflow User's Guide | ![]() |
Calling Graphical Functions from Custom Code
You specify custom C code for Stateflow targets as described in Specifying Custom Code Options for Stateflow Targets. Use the following procedure to call a graphical function from custom C code:
chart_name.h at the top of your custom code, where chart_name is the name of the chart that contains the graphical function.
| Including Custom C++ Code | Starting the Build | ![]() |
© 1994-2005 The MathWorks, Inc.