Antworten (1)

Steven Lord
Steven Lord am 2 Jan. 2023

0 Stimmen

As stated in the documentation properties with Access = 'private' "can be accessed only by members of the defining class." You cannot access them outside of methods of that class.
Similarly, methods with Access = 'private' can be called "by class methods only (not from subclasses)". You cannot call them outside other methods of that class.

Kategorien

Mehr zu Construct and Work with Object Arrays finden Sie in Hilfe-Center und File Exchange

Tags

Gefragt:

am 2 Jan. 2023

Beantwortet:

am 2 Jan. 2023

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by