Stateflow User's Guide Previous page   Next Page

Stateflow API Object Hierarchy

Stateflow API objects represent actual Stateflow objects in a Stateflow diagram. Like Stateflow objects, API objects contain or are contained by other Stateflow objects. For example, if state A contains state B in the Stateflow diagram editor, then the API object for state A contains the API object for state B. The following diagram depicts the Stateflow API hierarchy of objects:

Rules of containment define the Stateflow and Stateflow API object hierarchy. For example, charts can contain states but states cannot contain charts. The hierarchy of Stateflow objects, also known as the Stateflow data dictionary, is depicted in the section Stateflow Hierarchy of Objects in the Stateflow and Stateflow Coder User's Guide documentation. The Stateflow API hierarchy is very similar to the hierarchy of the Stateflow data dictionary and consists of the following layers of containment:

The preceding figure also shows two object types that exist outside the Stateflow containment hierarchy, which are as follows:


Previous page  What Is the Stateflow API? Getting a Handle on Stateflow API Objects Next page

© 1994-2005 The MathWorks, Inc.