| Using Stateflow | Search  Help Desk |
| sfexit |
Close all Stateflow diagrams, Simulink models containing Stateflow diagrams, and exit the Stateflow environment.
Syntax
sfexit
Description
sfexit closes all Stateflow diagrams, all Simulink models containing Stateflow diagrams, and exits the Stateflow environment.
sfexit unlocks the Stateflow MEX-file and clears it from the workspace.