Stateflow    

Boxes

You use boxes to graphically organize your diagram. Beyond this organizational use, boxes contribute little to how Stateflow diagrams execute.

The following is an example of a Stateflow Box object:

In this example, a box labeled Motor groups all the objects needed to control a simple motor. There can be many more objects displayed on the Stateflow chart along with this box, but now everything needed to control the motor is kept separate.


  History Junctions and Inner Transitions Graphical Functions