Stateflow | ![]() ![]() |
Displaying the Names of Properties
To access the names of all properties for any particular object, use the get
method. For example, if the object s
is a State object, enter the following command to list the properties and current values for any State object:
Use a combination of the get
method and the classhandle
method to list only the names of the properties of an object. For example, list just the names of the properties for the state object s
with the following command:
To get a quick description for each property, use the help
method. For example, if s
is a State object, the following command returns a list of State object properties, each with a small accompanying description:
Note Some properties do not have a description, because their names are considered descriptive enough. |
![]() | Displaying Properties and Methods | Displaying the Names of Methods | ![]() |