combining structs of different sizes

3 ビュー (過去 30 日間)
perveen ali
perveen ali 2017 年 2 月 9 日
回答済み: KSSV 2017 年 2 月 10 日
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.

回答 (1 件)

KSSV
KSSV 2017 年 2 月 10 日

カテゴリ

Help Center および File ExchangeStructures についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by