Have a look on this file exchange:
combining structs of different sizes
3 次查看(过去 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!