| Contents | Index |
handle = thisObject.classhandle
The classhandle method returns a read-only handle to the schema class of this object's type. You can use the classhandle method to provide information about the structure of each object type.
thisObject | The object for which to return a handle. Can be any Stateflow object. |
handle | Handle to schema class of this object. |
If j is a Junction object, the class handle of a Junction object is j.classhandle. You can see the class schema for a Junction object by using the following get command:
j.classhandle.get
Two member arrays of the displayed class schema are Properties and Methods. These two members are members of the schema class for every object.
List the class schema for Properties with the following command:
j.classhandle.Properties.get
Two displayed members of the Properties schema are Name and DataType. Finally, using the class handle for a junction, you can display the properties of a Junction object along with their data types with the following command:
get(j.classhandle.Properties,{'Name','DataType'})

Learn how engineers use Stateflow to model state machines in their Simulink models.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |