(swpref-addprop)= # swpref.addprop method D = ADDPROP(H,DynamicPropName) adds a dynamic property to the MATLAB objects in array H. DynamicPropName can be a string scalar or character vector. The added property is associated only with the objects of H. There is no effect on the class of H. ADDPROP returns a META.DYNAMICPROPERTY object, which can be modified to change property attributes or add property set and get methods. A dynamic property can be removed from an object by calling DELETE on the META.DYNAMICPROPERTY object. See also SWPREF, HANDLE, META.DYNAMICPROPERTY Help for swpref/addprop is inherited from superclass DYNAMICPROPS Reference page in Doc Center doc swpref/addprop