MATLAB Object-Oriented Programming

(Joyce) #1

Functionality Supported by Handle Classes


Deriving from the handle class enables your class to:


  • Inherit several useful methods (“Handle Class Methods” on page 7-13)

  • Define events and listeners (“Events and Listeners Syntax” on page 11-22)

  • Define dynamic properties (“Dynamic Properties — Adding Properties to an Instance”
    on page 8-69)

  • Implement set and get methods (“Implement Set/Get Interface for Properties” on page
    7-28)

  • Customize copy behavior (“Implement Copy for Handle Classes” on page 7-35)


See “The Handle Superclass” on page 7-13 for more information on the handle class and
its methods.

See Also


Related Examples



  • “Which Kind of Class to Use” on page 7-11

  • “Implement Copy for Handle Classes” on page 7-35

  • “Handle Object Behavior” on page 1-9


7 Value or Handle Class — Which to Use

Free download pdf