Stateflow    

Creating a MATLAB Script of API Commands

In the Quick Start for the Stateflow API section, you created and saved a new model through a series of Stateflow API commands. You can include the same API commands in the following MATLAB script, which allows you to quickly recreate the same model with a single command (>> makeMyModel).


  Making Supertransitions API Properties and Methods by Use