How to add variable fields in struct?
16 ビュー (過去 30 日間)
古いコメントを表示
Hello all,
So i have a struct like this:
structExampe.(field(n))=struct('a', a, 'b', b);
and I want to add field in the same struct:
structExampe.(field(n))=struct('c', c);
and have all 3 variable inside struct (a,b,c)
How I should do this??
Thanks for the help!
0 件のコメント
採用された回答
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Structures についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!