matlab.mixin.SetGetExactNames class
Package:matlab.mixin
Superclasses:matlab.mixin.SetGet
Require exact name match for set and get methods
Description
classdef
subclasses theMySubClass
< matlab.mixin.SetGetExactNamesmatlab.mixin.SetGetExactNames
class.
Thematlab.mixin.SetGetExactNames
class is an abstract class that provides a property set and get interface.
Use thematlab.mixin.SetGetExactNames
class to derive classes that inherit propertyset
andget
methods. For information on how to use theset
andget
methods, see the MATLAB®set
andget
functions.
Classes derived frommatlab.mixin.SetGetExactNames
需要case-sensitive, exact property name matches. To support inexact name matches, derive from thematlab.mixin.SetGet
class.
Methods
Inherited Methods
Methods inherited frommatlab.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 astruct with all property values. |
setdisp |
Implicitly called whenset 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 whenget is called with no output arguments and handle array, but no property name. Override this method to change what get displays. |
Attributes
Abstract |
true |
ConstructOnLoad |
true |
HandleCompatible |
true |
To learn about attributes of classes, seeClass Attributes.