Filter löschen
Filter löschen

Access to nested structs

1 Ansicht (letzte 30 Tage)
Frank
Frank am 11 Nov. 2020
Bearbeitet: Stephen23 am 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'}?

Akzeptierte Antwort

Stephen23
Stephen23 am 11 Nov. 2020
Bearbeitet: Stephen23 am 11 Nov. 2020

Weitere Antworten (0)

Kategorien

Mehr zu Structures finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by