Stateflow | ![]() ![]() |
Create a New Model and Chart
Create a new model by itself in MATLAB with the following steps:
sfnew
to create a new chart.
sfnew
method creates a new untitled Simulink model with a new Stateflow chart in it. Do not open the Stateflow chart.
You now have only one Simulink model in memory. You are now ready to access the API Machine object that represents the model itself.
![]() | Quick Start for the Stateflow API | Access the Machine Object | ![]() |