Access to nested structs

4 次查看(过去 30 天)
Frank
Frank 2020-11-11
编辑: Stephen23 2020-11-11
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'}?

采纳的回答

Stephen23
Stephen23 2020-11-11
编辑:Stephen23 2020-11-11

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Structures 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by