도움말 센터도움말 센터
슈퍼클래스의 이름
superclasses(ClassName)
superclasses(obj)
s = superclasses(___)
예제
superclasses(ClassName)은 이름이 ClassName인 MATLAB® 클래스의 모든 보이는 슈퍼클래스의 이름을 표시합니다. 보이는 클래스의 Hidden 특성 값은 false(디폴트 값)입니다.
ClassName
Hidden
false
superclasses(obj)는 객체 obj의 모든 보이는 슈퍼클래스의 이름을 표시합니다. 여기서 obj는 MATLAB 클래스의 인스턴스입니다. obj는 스칼라 객체 또는 객체로 구성된 배열일 수 있습니다.
obj
s = superclasses(___)는 슈퍼클래스 이름을 문자형 벡터로 구성된 셀형 배열로 반환합니다.
s
모두 축소
matlab.lang.OnOffSwitchState 클래스의 슈퍼클래스를 찾습니다.
superclasses('matlab.lang.OnOffSwitchState')
Superclasses for class matlab.lang.OnOffSwitchState: logical
containers.Map 클래스의 인스턴스에서 슈퍼클래스를 찾습니다.
m = containers.Map('May',70); superclasses(m)
Superclasses for class containers.Map: handle
클래스 이름으로, 문자형 벡터 또는 string형 스칼라로 지정됩니다.
데이터형: char | string
char
string
MATLAB 클래스의 객체로, 단일 객체 또는 객체 배열로 지정됩니다.
슈퍼클래스 이름으로, 문자형 벡터로 구성된 셀형 배열로 반환됩니다.
backgroundPool
ThreadPool
이 함수는 스레드 기반 환경을 완전히 지원합니다. 자세한 내용은 스레드 기반 환경에서 MATLAB 함수 실행하기 항목을 참조하십시오.
R2008b에 개발됨
properties | methods | events
properties
methods
events
이 예제의 수정된 버전이 있습니다. 사용자가 편집한 내용을 반영하여 이 예제를 여시겠습니까?
다음 MATLAB 명령에 해당하는 링크를 클릭했습니다.
명령을 실행하려면 MATLAB 명령 창에 입력하십시오. 웹 브라우저는 MATLAB 명령을 지원하지 않습니다.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office