Describe property of MATLAB class
meta.property class provides information
about the properties of MATLAB® classes. The read/write properties
meta.property class correspond to property
attributes and are specified only from within your class definitions.
You can query the read-only properties of the
to obtain information that is specified syntactically by the class
(for example, to obtain the function handle of a property set access method).
You cannot instantiate a
directly. Obtain a
meta.property object from the
which contains an array of
one for each class property. For example, replace
the name of the class whose properties you want to query:
mco = ?ClassName; plist = mco.PropertyList; plist(1).Name; % name of first property
to obtain a
meta.class object from a class instance:
mco = metaclass(obj);
Name of the property.
Currently not used.
Currently not used.
List classes that allow access
for this property. Specify classes as
classes that have set access to this property. Specify classes as
classes that have get and set access to this property. Specify classes
Property default value (if specified in class definition).
|Function handle of the get method associated with this property. Empty if there is no get method specified. See Property Get Methods|
Property contains a boolean value indicating whether
the property defines a default value. Test
|Determines whether the property should be shown in a property
list (e.g., Property Inspector, call to |
Indicate if property value should be copied when object is copied.
For more information, see Exclude Properties from Copy
|Function handle of the set method associated with this property. Empty if there is no set method specified. See Property Set Methods|
See Listen for Changes to Property Values for information on using property events.
|Event occurs just before property is queried.|
|Event occurs just after property has been queried|
|Event occurs just before this property is modified|
|Event occurs just after this property has been modified|