CatStruct2

버전 1.0.0.0 (2.47 KB) 작성자: Hassan
Concatenates Structures (fields each depth are merged)
다운로드 수: 319
업데이트 2011/12/31

라이선스 보기

FinalStruct = CatStruct2(S1,S2) concatenates the structures S1 and S2 into one structure FinalStruct.

The fieldnames at each depth will be compared. In case the field name is found in both structures, the second occurence will overwrite the value of the first.

CatStruct2(S1,S2,'sorted') will sort the fieldnames alphabetically after merging the two structures.

Thanks to Jos van der Geest for providing the source code of CATSTRUCT on
http://www.mathworks.com/matlabcentral/fileexchange/7842-catstruct/content/catstruct.m

인용 양식

Hassan (2026). CatStruct2 (https://kr.mathworks.com/matlabcentral/fileexchange/34401-catstruct2), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R2007b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Structures에 대해 자세히 알아보기
버전 게시됨 릴리스 정보
1.0.0.0