classhandle

Provide handle to schema class of object type

Syntax

handle = thisObject.classhandle

Description

The classhandle method returns a read-only handle to the schema class of this object type. You can use the classhandle method to provide information about the structure of each object type.

Arguments

thisObject

The object for which to return a handle. Can be any Stateflow® object.

Returns

handle

Handle to schema class of this object.

Examples

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'})
Introduced before R2006a