Close all Simulink models containing Stateflow diagrams and exit the Stateflow environment.
Syntax
sfexit