MATLAB Object-Oriented Programming

(Joyce) #1
Attribute Name Class Description
Dependent logical

default = false

If false, property value is stored in
object. If true, property value is not
stored in object. The set and get functions
cannot access the property by indexing
into the object using the property name.

MATLAB does not display in the command
window the names and values of
Dependent properties that do not define
a get method (scalar object display only).

Values returned by dependent property
get methods are not considered when
testing for object equality using isequal.


  • “Calculate Data on Demand” on page
    3-23

  • “Property Get Methods” on page 8-60

  • “Avoid Property Initialization Order
    Dependency” on page 13-12


8 Properties — Storing Class Data

Free download pdf