답변 (1개)

Steven Lord
Steven Lord 2023년 1월 2일

0 개 추천

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.

카테고리

도움말 센터 및 File Exchange에서 Subclass Definition에 대해 자세히 알아보기

태그

질문:

2023년 1월 2일

답변:

2023년 1월 2일

Community Treasure Hunt

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

Start Hunting!

Translated by