Azzera filtri
Azzera filtri

Access to nested structs

1 visualizzazione (ultimi 30 giorni)
Frank
Frank il 11 Nov 2020
Modificato: Stephen23 il 11 Nov 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'}?

Risposta accettata

Stephen23
Stephen23 il 11 Nov 2020
Modificato: Stephen23 il 11 Nov 2020

Più risposte (0)

Categorie

Scopri di più su Structures in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by