how to access private
15 ビュー (過去 30 日間)
古いコメントを表示
回答 (1 件)
Steven Lord
2023 年 1 月 2 日
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.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Construct and Work with Object Arrays についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
