Creating several structures within another structure

4 ビュー (過去 30 日間)
Ikenna Okoye
Ikenna Okoye 2020 年 5 月 4 日
コメント済み: Ikenna Okoye 2020 年 5 月 4 日
Im attemtig to create two structures called nodes and elements within a larger structure called tubing. I am able to nest one struct within another, but i cant seem to do more than one. Would anyone know how to do this if at all possible in matlab or offer an alternative?

採用された回答

Stephen23
Stephen23 2020 年 5 月 4 日
編集済み: Stephen23 2020 年 5 月 4 日
MATLAB does not limit how much nesting you can do with any container arrays.
tubing.nodes = struct('X',1);
tubing.elements = struct('cat',Inf,'hat',NaN)

その他の回答 (0 件)

カテゴリ

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

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by