RecuMergeStruct(A, B)

버전 1.1.0.0 (3.55 KB) 작성자: Ben
Recursive merge of two structures.
다운로드 수: 172
업데이트 날짜: 2015/8/18

라이선스 보기

RECUMERGESTRUCT recursively merges fields & subfields of structs A and B
The aim is to produce 1D arrays of every shared field in the structs, indexed by the struct identifier, which we assume is a point field somewhere at the top level. Scalars are aggregated to vectors, vectors are aggregated if of equal size, mxn matrices are placed in cell arrays, as are cells and char arrays.

인용 양식

Ben (2024). RecuMergeStruct(A, B) (https://www.mathworks.com/matlabcentral/fileexchange/47448-recumergestruct-a-b), MATLAB Central File Exchange. 검색됨 .

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

Community Treasure Hunt

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

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

Comments and style
Modified cell concatenation to produce 1D arrays rather than nests

1.0.0.0