이 번역 페이지는 최신 내용을 담고 있지 않습니다. 최신 내용을 영문으로 보려면 여기를 클릭하십시오.
findprop
클래스: handle
meta.property
객체 찾기
구문
mp = findprop(h,property)
설명
는 객체 mp
= findprop(h
,property
)h
의 명명된 속성과 연결된 meta.property
객체를 반환합니다. property
는 h
의 클래스로 정의된 속성이거나 h
객체용으로만 정의된 동적 속성일 수 있습니다.
입력 인수
h
— 핸들 객체
핸들
핸들 객체로, 스칼라 핸들로 지정됩니다.
property
— 속성 이름
문자형 벡터 | string형 스칼라
속성 이름으로, 따옴표로 묶인 텍스트(대/소문자 구분)로 지정됩니다.
데이터형: char
| string
출력 인수
mp
— meta.property
객체
meta.property
| meta.DynamicProperty
명명된 속성과 연결된 meta.property
객체입니다. findprop
가 객체 h
에서 속성을 찾지 못할 경우 findprop
는 0×1 크기의 빈 meta.property
객체를 반환합니다. 속성이 동적 속성인 경우, 이 함수는 meta.DynamicProperty
객체를 반환합니다.
예제
속성 특성 표시하기
containers.Map Count 속성의 현재 특성 값을 표시합니다.
mp = findprop(containers.Map,'Count');
disp(mp)
property with properties: Name: 'Count' Description: 'Number of pairs in the collection' DetailedDescription: '' GetAccess: 'public' SetAccess: 'private' Dependent: 1 Constant: 0 Abstract: 0 Transient: 1 Hidden: 0 GetObservable: 0 SetObservable: 0 AbortSet: 0 NonCopyable: 1 PartialMatchPriority: 1 GetMethod: [] SetMethod: [] HasDefault: 0 Validation: [0x0 meta.Validation] DefiningClass: [1x1 meta.class]
확장 기능
스레드 기반 환경
MATLAB®의 backgroundPool
을 사용해 백그라운드에서 코드를 실행하거나 Parallel Computing Toolbox™의 ThreadPool
을 사용해 코드 실행 속도를 높일 수 있습니다.
MATLAB 명령
다음 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:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)