metaproperty(classN​ame, propertyName)

버전 1.0 (5.48 KB) 작성자: Roman Müller-Hainbach
Retrieve meta.property objects more easily.
다운로드 수: 16
업데이트 날짜: 2018/4/14

라이선스 보기

Includes these three functions:
- metaproperty(className, propertyName)
- metaproperties(className)
- meta.property.fromName(className, propertyName)

Retrieving meta.class objects in MATLAB is conveniently done through the ?-operator and metaclass- or meta.class.fromName-functions. This submission aims to provide similar ways to retrieve meta.property objects.

The metaproperty function is very flexible with its inputs.

A prominent example where meta.property objects are needed is the construction of event.proplistener objects.

Also have a look at the help for these functions to learn more about them. The metaproperty function takes optional arguments to filter the results based on property attributes.

인용 양식

Roman Müller-Hainbach (2024). metaproperty(className, propertyName) (https://www.mathworks.com/matlabcentral/fileexchange/66919-metaproperty-classname-propertyname), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R2013a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Class Introspection and Metadata에 대해 자세히 알아보기
도움

도움 받은 파일: strlookup

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.0