Documentation

matlab.mixin.SetGetExactNames class

Package:matlab.mixin
Superclasses:matlab.mixin.SetGet

Require exact name match for set and get methods

Description

classdefMySubClass< matlab.mixin.SetGetExactNamessubclasses thematlab.mixin.SetGetExactNamesclass.

Thematlab.mixin.SetGetExactNamesclass is an abstract class that provides a property set and get interface.

Use thematlab.mixin.SetGetExactNamesclass to derive classes that inherit propertysetandgetmethods. For information on how to use thesetandgetmethods, see the MATLAB®setandgetfunctions.

Classes derived frommatlab.mixin.SetGetExactNames需要case-sensitive, exact property name matches. To support inexact name matches, derive from thematlab.mixin.SetGetclass.

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 astructwith all property values.
setdisp Implicitly called whensetis called with no output arguments and a handle array, but no property name. Override this method to change what set displays.
getdisp Implicitly called whengetis 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.

Introduced in R2016b

Was this topic helpful?