Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

Handle Classes

Classes can support reference or value semantics.

Create the appropriate type of class for your application:

  • Value classes enable you to create new array classes that have the same semantics as numeric classes.

  • Handle classes define objects that reference the object data. Copying an object creates another reference to the same data.

For a discussion of how object users work with handle objects, see Using Handles.

Functions

isequal Determine array equality
eq Determine equality

Classes

handle Abstract class for deriving handle classes
matlab.mixin.SetGet Abstract class used to derive handle classes with set and get methods
dynamicprops Superclass for classes that support dynamic properties
matlab.mixin.Copyable Superclass providing copy functionality for handle objects

Methods

handle.addlistener Create event listener
handle.delete Delete handle object
handle.findobj Find handle objects
handle.isvalid Determine valid handles
handle.findprop Find meta.property object
handle.relationaloperators Determine equality or sort handle objects
Was this topic helpful?