Get values from complex struct
Mostrar comentarios más antiguos
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
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Structures en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!