MATLAB Object-Oriented Programming

(Joyce) #1
Style: '..'
Marker: 'o'
Units: 'points

H(2)

ans =

LineType with properties:

Style: '--'
Marker: 'x'
Units: 'points'

Customize the Property List

Customize the way property lists display by redefining the following methods in your
subclass:


  • setdisp — When you call set with no output argument and a single scalar handle
    input, set calls setdisp to determine how to display the property list.

  • getdisp — When you call get with no output argument and a single scalar handle
    input, get calls getdisp to determine how to display the property list.


See Also
get | set

More About



  • “Ways to Use Properties” on page 8-2


7 Value or Handle Class — Which to Use

Free download pdf