Get values from complex struct
Ältere Kommentare anzeigen
Hi all,
I have a complex set of structures, where I want to extract values from:
A: 1x1000 struct
sub-struct: B: 1x1 struct
sub-struct C: 1x3 struct
I want to search the A.B.C structures for var_a = x
var_a is part of C, but it does not exist in all C.
I tried "find", but I get "Reference to non-existent field 'C'."
Cheers
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Structures finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!