matlab.mixin.SetGet Class
Namespace: matlab.mixin
Provide handle classes with set and get methods
Description
Use the matlab.mixin.SetGet
class to derive classes that inherit a
set
and get
method interface. These methods
provide functionality similar to the set
and get
functions.
The set
and get
methods inherited from
matlab.mixin.SetGet
support inexact property name matching. You can
use a combination of partial and case-insensitive names as long as the inexact name is
not ambiguous.
In contrast, dot-based property references require exact property name matches. To
implement exact name matching with set
and get
methods, use the matlab.mixin.SetGetExactNames
class.
All classes derived from matlab.mixin.SetGet
are handle classes.
The matlab.mixin.SetGet
class is a handle
class.
Class Attributes
Abstract | true |
HandleCompatible | true |
For information on class attributes, see Class Attributes.
Methods
Examples
Version History
Introduced in R2014b