Describe dynamic property of MATLAB object
meta.DynamicProperty class contains descriptive
information about dynamic properties that you have added to an instance
of a MATLAB® classes. The MATLAB class must be a subclass
dynamicprops. The properties of the
correspond to property attributes that you specify from within class
definitions. Dynamic properties are not defined in
but you can set their attributes by setting the
You add a dynamic property to an object using the
dynamicprops class. The
meta.DynamicProperty instance representing
the new dynamic property. You can modify the properties of the
to set the attributes of the dynamic property or to add set and get
access methods, which would be defined in the
You cannot instantiate the
meta.DynamicProperty class. You must use
addprop to obtain a
findprop to get the
meta.DynamicProperty object for an object with a dynamic
To remove the dynamic property, call the
class method on the
addprop method returns
an array of
meta.DynamicProperty objects, one for
each dynamic property added.
See Dynamic Properties — Adding Properties to an Instance for more information.
Name of the property.
Currently not used
Currently not used
The Access attribute a of dynamic property applies to the class of the instance that contains the dynamic property. For more information, see Access Attribute for Dynamic Properties.
classes that have get and set access to this property. Specify classes
Querying this property returns an error because dynamic properties cannot define default values.
|Determines whether the property should be shown in a property
list (e.g., Property Inspector, call to |
Determines if dynamic property should be copied when object is copied. By default, dynamic properties are not copied.
For more information, see Exclude Properties from Copy
|Function handle of the get method associated with this property. Empty if there is no get method specified. See Get Method Syntax|
|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|
|Inherited from |