| MATLAB Function Reference | ![]() |
Abstract class used to derive handle class with dynamic properties
classdef myclass < dynamicprops
classdef myclass < dynamicprops makes myclass a subclass of the dynamicprops class, which is a subclass of the handle class.
Use the dynamicprops class to derive classes that can define dynamic properties (instance properties), which are associated with a specific objects, but have no effect on the objects class definition. Dynamic properties are useful for attaching temporary data to one or more objects.
This class defines one method addprop and, as a subclass of the handle class, inherits all the handle class methods.
addprop — adds the named property to the specified handle objects. See Dynamic Properties — Adding Properties to an Instance for more information.
![]() | dsearchn | echo | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |