Stateflow    
Objectless Methods

The following methods do not belong to any API object, including Stateflow objects. See API Methods Reference for details on each method.

Description
Method
sfclipboard
Return a handle to the Clipboard object.
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 them.

sfhelp
Display Stateflow online help in the MATLAB Help browser.
sfnew
Create and display a new Simulink model containing an empty Stateflow block.
sfprint
Print the visible portion of a Stateflow diagram.
sfroot
Return a handle to the Root object.
sfsave
Save the current machine and Simulink model.
sfversion
Return the current version of Stateflow.
stateflow
Open the current Stateflow model window.


  Target Methods API Methods Reference