getnestedfield

버전 1.1.0.0 (2.91 KB) 작성자: Bob Spunt
Find a (potentially nested) field in a structure and return its contents
다운로드 수: 101
업데이트 날짜: 2015/8/17

Use a regular expression to find a (potentially nested) field in a structure and return its contents.
USAGE: F = getnestedfield(S, EXP)
INPUTS
S: The struct to search
EXP: Pattern used to find field (passed to REGEXP)

OUTPUT
F: Field contents. If no fields are found, is an empty array. If multiple fields found, is a N x 2 cell array where N is the number of matching fields, first column contains full locations of each match, and second column contains their values (this is raw output from NSTRUCT2CELL, see CREDIT below).

인용 양식

Bob Spunt (2024). getnestedfield (https://github.com/spunt/getnestedfield), GitHub. 검색됨 .

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

받음: NSTRUCT2CELL

Community Treasure Hunt

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

Start Hunting!

GitHub 디폴트 브랜치를 사용하는 버전은 다운로드할 수 없음

버전 게시됨 릴리스 정보
1.1.0.0

Stunning image added.

1.0.0.0

이 GitHub 애드온의 문제를 보거나 보고하려면 GitHub 리포지토리로 가십시오.
이 GitHub 애드온의 문제를 보거나 보고하려면 GitHub 리포지토리로 가십시오.