stateflow
Open Stateflow block library and create Simulink model that contains an empty chart
Syntax
Description
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.
Tips
To only create a Simulink model that contains an empty Stateflow block, use the
sfnew
function.To only open the Stateflow block library, use the
sflib
function.To create a standalone chart that you can execute as a MATLAB® object, open the Stateflow editor by using the
edit
function. For example, at the MATLAB Command Window, enter:For more information, see Create Stateflow Charts for Execution as MATLAB Objects.edit chart.sfx