for example:
input.field1 = struct()
input.field1.field2 = struct()
...
flattern the struct so it only has one layer, then you can convert it to cell/table etc.
인용 양식
uathena (2026). flattern_struct(input, name) (https://kr.mathworks.com/matlabcentral/fileexchange/64057-flattern_struct-input-name), MATLAB Central File Exchange. 검색 날짜: .
MATLAB 릴리스 호환 정보
개발 환경:
R2017a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux카테고리
Help Center 및 MATLAB Answers에서 Structures에 대해 자세히 알아보기
