Loops for struct data

조회 수: 1 (최근 30일)
Tonghui Zhang
Tonghui Zhang 2019년 6월 24일
댓글: Tonghui Zhang 2019년 6월 24일
Hi all,
I have a problem.I want to read all the information of a struct data while I don't know any information about it( for example how much layers in it and the size of each layer). I think it is possible to use while and for loops to read all data in it but I don't know how to arrange the code. Anyone can help me?
Thanks in advance

답변 (1개)

Shwetank Shrey
Shwetank Shrey 2019년 6월 24일
  댓글 수: 1
Tonghui Zhang
Tonghui Zhang 2019년 6월 24일
Hi,
Thanks for your reply. What I am confused is how to arrange the loops for struct data without deep infromation instead of the name in one layer.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by