Stateflow    

Editing a Subchart

You can perform any editing operation on a subchart that you can perform on a top-level chart. You can create, copy, paste, cut, relabel, resize, and group states, transitions, and other subcharts. You can also create transitions among states and junctions in a subchart in the same way you create them among states in a top-level chart. (See Working with Supertransitions for information on creating transitions to and from a subchart). It is also possible to cut-and-paste objects between different levels in your chart. For example, to copy objects from a top-level chart to one of its subcharts, first open the top-level chart and copy the objects. Then open the subchart and paste the objects into the subchart.


 Navigating Subcharts Working with Supertransitions