Open Stateflow block library and create Simulink model that contains an empty chart
stateflow creates an untitled Simulink® model that contains an empty Stateflow® chart. The function also opens the Stateflow block library. From this library, you can drag Stateflow blocks into models.
To only create a Simulink model that contains an empty Stateflow block, use the
To only open the Stateflow block library, use the
To create a standalone chart that you can execute as a MATLAB® object, open the Stateflow editor by using the
editfunction. For example, at the MATLAB Command Window, enter:For more information, see Create Stateflow Charts for Execution as MATLAB Objects.