Stateflow User's Guide Previous page   Next Page

Utilities

The following methods provide convenience and utility to the Stateflow API.

Method
Description
Objects
sfexit
Close all Stateflow diagrams and Simulink models containing Stateflow diagrams, and exit the Stateflow environment.

    Caution    Executing the sfexit method causes all models in Simulink to close without a request to save.

None
sfnew
Create and display a new Simulink model containing an empty Stateflow block.
None
sfprint
Print the visible portion of a Stateflow diagram.
None
sfsave
Save the current machine and Simulink model.
None
sfversion
Return the current version of Stateflow.
None
stateflow
Open a new Simulink model with a Stateflow block in it.
None


Previous page  Truth Table Construction Properties API Properties and Methods by Object Next page

© 1994-2005 The MathWorks, Inc.