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
You must use
addprop to obtain a
To remove the dynamic property, call the
class method on the
meta.DynamicProperty object from
addprops method, which returns an array of
one for each dynamic property.
See Dynamic Properties — Adding Properties to an Instance for more information.
Name of the property.
Currently not used
Currently not used
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 |