필터 지우기
필터 지우기

Creating several structures within another structure

조회 수: 3 (최근 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 CenterFile Exchange에서 Structures에 대해 자세히 알아보기

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by