Provide class handle for object
handle = classhandle(thisObject)
The classhandle
function returns a read-only class handle for
a Stateflow® API object. You can use the classhandle
function
to retrieve information about the structure of each object type.
| The object for which to return a class handle. Can be any Stateflow object. |
| Class handle for this object. |
If j
is a Stateflow.Junction
object,
classhandle(j)
returns the class handle of a
Stateflow.Junction
object. To display the structure for this
class handle, enter:
get(classhandle(j))
The structure for this class handle includes the fields Names
and Properties
. To display the Properties
substructure, enter:
get(classhandle(j).Properties)
The Properties
substructure includes the fields
Name
and DataType
. You can display a list
of property names and data types of a Stateflow.Junction
object
with the following command:
get(classhandle(j).Properties,{'Name','DataType'})