Main Content

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

findprop

클래스: handle

meta.property 객체 찾기

구문

mp = findprop(h,property)

설명

mp = findprop(h,property)는 객체 h의 명명된 속성과 연결된 meta.property 객체를 반환합니다. propertyh의 클래스로 정의된 속성이거나 h 객체용으로만 정의된 동적 속성일 수 있습니다.

입력 인수

모두 확장

핸들 객체로, 스칼라 핸들로 지정됩니다.

속성 이름으로, 따옴표로 묶인 텍스트(대/소문자 구분)로 지정됩니다.

데이터형: char | string

출력 인수

모두 확장

명명된 속성과 연결된 meta.property 객체입니다. findprop가 객체 h에서 속성을 찾지 못할 경우 findprop는 0×1 크기의 빈 meta.property 객체를 반환합니다. 속성이 동적 속성인 경우, 이 함수는 meta.DynamicProperty 객체를 반환합니다.

특성

Accesspublic

메서드의 특성에 대해 자세히 알아보려면 메서드 특성을 참조하십시오.

예제

모두 확장

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을 사용해 코드 실행 속도를 높일 수 있습니다.