MATLAB Object-Oriented Programming

(Joyce) #1
Attribute Name Class Description
Hidden logical

default = false

Determines if the property can be shown
in a property list (e.g., Property Inspector,
call to set or get, etc.).

MATLAB does not display in the command
window the names and values of
properties whose Hidden attribute is
true or properties having protected or
private GetAccess.
NonCopyable logical

default = false

Determine if property value can be copied
when object is copied.

You can set NonCopyable to true only in
handle classes.

For more information, see “Exclude
Properties from Copy” on page 7-40

8 Properties — Storing Class Data

Free download pdf