| Contents | Index |
classdef myclass < hgsetget
classdef myclass < hgsetget makes myclass a subclass of the hgsetget class, which is a subclass of the handle class.
Use the hgsetget class to derive classes that inherit set and get methods that behave like Handle Graphics set and get functions.
When you derive a class from the hgsetget class, your class inherits the following methods.
| Method | Purpose |
|---|---|
| set | Assigns values to the specified properties or returns a cell array of possible values for writable properties. |
| get | Returns value of specified property or a struct with all property values. |
| setdisp | Called when set is called with no output arguments and a handle array, but no property name. Override this method to change what set displays. |
| getdisp | Called when get is called with no output arguments and handle array, but no property name. Override this method to change what get displays. |
get | get (hgsetget) | handle | set | set (hgsetget)

Explore how to use MATLAB to make advancements in engineering and science.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |