Stateflow User's Guide Previous page   Next Page

Using Boxes in Stateflow

Once you create a box you can use it in one of the following ways:

For the most part, boxes do not contribute to the semantics of a Stateflow diagram. They do, however, affect the activation order of a diagram's parallel states. A box wakes up before any parallel states or boxes that are lower or to the right of it in a Stateflow diagram. Within a box, parallel states still wake up in top-down, left to right order.


Previous page  Changing a State to a Box Using Notes to Extend Chart Diagrams Next page

© 1994-2005 The MathWorks, Inc.