Borrar filtros
Borrar filtros

Access to nested structs

1 visualización (últimos 30 días)
Frank
Frank el 11 de Nov. de 2020
Editada: Stephen23 el 11 de Nov. de 2020
I have a struct say a.b.c.d, but want to avoid hard coded 'b.c.d'.
Ist there an easy way to access the data dynamically, for example with a cell field like {'b' 'c' 'd'}?

Respuesta aceptada

Stephen23
Stephen23 el 11 de Nov. de 2020
Editada: Stephen23 el 11 de Nov. de 2020

Más respuestas (0)

Categorías

Más información sobre Structures en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by