Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

matlab.mixin.SetGetExactNames class

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

Require exact name match for set and get methods

Description

classdef MySubClass < matlab.mixin.SetGetExactNames subclasses the matlab.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 Methods

Methods inherited from matlab.mixin.SetGet.

MethodPurpose
setAssigns values to the specified properties or returns a cell array of possible values for writable properties.
getReturns value of specified property or a struct with all property values.
setdispImplicitly 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.
getdispImplicitly called when get is called with no output arguments and handle array, but no property name. Override this method to change what get displays.

Attributes

Abstracttrue
ConstructOnLoadtrue
HandleCompatibletrue

To learn about attributes of classes, see Class Attributes.

Introduced in R2016b

Was this topic helpful?