how to access private
    조회 수: 18 (최근 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!


