combining structs of different sizes
조회 수: 4 (최근 30일)
이전 댓글 표시
i want to combine structs of different sizes together, how can I do that. e.g. struct1 has four fields and struct2 has 3 fields. struct1= inputangle: '25' outputangle:'40' inputamplitude:'1' outputamplitude:'0.5' and strcut2 only has first three fields. with different values. how can I combine them to get all info in one struct. can anyone help please. thanks.
댓글 수: 0
답변 (1개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Structures에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!