Package: matlab.mixin
Superclasses: matlab.mixin.SetGet
Require exact name match for set and get methods
classdef
subclasses the MySubClass
<
matlab.mixin.SetGetExactNamesmatlab.mixin.SetGetExactNames
class.
The matlab.mixin.SetGetExactNames
class is
an abstract class that provides a property set and get interface.
Use the matlab.mixin.SetGetExactNames
class
to derive classes that inherit property set
and get
methods.
For information on how to use the set
and get
methods,
see the MATLAB® set
and get
functions.
Classes derived from matlab.mixin.SetGetExactNames
require
case-sensitive, exact property name matches. To support inexact name
matches, derive from the matlab.mixin.SetGet
class.
Methods inherited from matlab.mixin.SetGet
.
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 | Implicitly 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 | Implicitly called when get is called with
no output arguments and handle array, but no property name. Override
this method to change what get displays. |
Abstract | true |
ConstructOnLoad | true |
HandleCompatible | true |
For information on class attributes, see Class Attributes.