How can I find all all Transform or surf in one struct

1 次查看(过去 30 天)
I load a .mat-file in my script. This .mat-file is a struct (i.e. 'str') with data and objects. In my case I only want to find the objects (like Surface and Transform) and get the handles of them.
str.a=2
str.b=[1, 0.3, 0.5]
str.c=mesh([1 1],[1 1],[0 1;0 1])
str.d=struct('a',{mesh([1 1],[1 1],[2 1;2 1])},'b',{'test 1'})
and I want to find and save (I know there is no Transform but I want to find them too)
str.c
str.d.a
Is there an easy way that I can find all Surface and Transform in one struct?

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Graphics Object Properties 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by