Get values from complex struct
Afficher commentaires plus anciens
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
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Structures dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!