Loops for struct data

1 次查看(过去 30 天)
Tonghui Zhang
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