Main Content

이 번역 페이지는 최신 내용을 담고 있지 않습니다. 최신 내용을 영문으로 보려면 여기를 클릭하십시오.

클래스 내부 검사와 메타데이터

클래스 메타데이터에서 클래스에 대한 자세한 정보 가져오기

메타데이터는 클래스 정의에 대한 정보를 제공합니다. 이를 통해 클래스의 객체를 생성하지 않고도 클래스가 정의하는 모든 속성, 메서드, 이벤트에 대한 정보를 찾을 수 있습니다.

함수

metaclassmatlab.metadata.Class 객체 가져오기
meta.abstractDetailsFind abstract methods and properties
meta.class.fromNameReturn matlab.metadata.Class object that describes named class
meta.package.fromName Return matlab.metadata.Namespace object for specified namespace
meta.package.getAllPackagesGet all top-level namespaces
properties클래스 속성 이름
methods클래스 메서드(Class Method) 이름
ismethod지정된 메서드가 객체에 있는지 확인
events이벤트 이름
superclasses슈퍼클래스의 이름

클래스

meta.classDescribe MATLAB class
meta.propertyDescribe property of MATLAB class
meta.methodDescribe MATLAB class method
meta.eventDescribe event defined by MATLAB class
meta.packageDescribe MATLAB namespace
meta.DynamicPropertyDescribe dynamic property of MATLAB object
meta.EnumeratedValueDescribe enumeration member of MATLAB class
meta.MetaDataRoot of metadata class hierarchy
meta.ArrayDimension Size information for property validation
meta.Validation Describes property validation
meta.FixedDimension Fixed dimension in property size specification
meta.UnrestrictedDimension Unrestricted dimension in property size specification

도움말 항목