Stateflow User's Guide Previous page   Next Page

Displaying Property Subproperties

Some properties are objects that have properties referred to as subproperties. For example, when you invoke the command get(ch) on a chart object, ch, the output displays the following for the StateFont property:

This value indicates that the StateFont property of a state has subproperties. To view the subproperties of StateFont, enter the command get(ch.StateFont.get) to receive something like the following:

From this list it is clearly seen that Name, Size, Weight, and Angle are subproperties of the property StateFont. In the API property references for this guide (see API References to Properties and Methods), these properties are listed by their full names: Statefont.Name, Statefont.Size, and so on.


Previous page  Displaying the Names of Methods Displaying Enumerated Values for Properties Next page

© 1994-2005 The MathWorks, Inc.