Loops for struct data

2 Ansichten (letzte 30 Tage)
Tonghui Zhang
Tonghui Zhang am 24 Jun. 2019
Kommentiert: Tonghui Zhang am 24 Jun. 2019
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

Antworten (1)

Shwetank Shrey
Shwetank Shrey am 24 Jun. 2019
  1 Kommentar
Tonghui Zhang
Tonghui Zhang am 24 Jun. 2019
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.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Structures finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by