Stateflow    

Manipulating Subcharts as Objects

Subcharts are first-class objects in Stateflow. You can use the same techniques to drag, copy, cut, paste, relabel, and resize subcharts as you use to perform similar objects on states and boxes. You can also draw transitions to and from a subchart and any other state or subchart at the same or different levels in the chart hierarchy (see Working with Supertransitions).


 Creating a Subchart Opening a Subchart