Skip to Main Content Skip to Search
Product Documentation

dynamicprops - Abstract class used to derive handle class with dynamic properties

Syntax

classdef myclass < dynamicprops

Description

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.

dynamicprops Methods

This class defines one method addprop and, as a subclass of the handle class, inherits all the handle class methods.

See Also

handle

  


Free MATLAB Interactive Kit

Explore how to use MATLAB to make advancements in engineering and science.


Download free kit

Trials Available

Try the latest version of MATLAB and other MathWorks products.


Get trial software
 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS