Creating structure from string with full stops

21 Ansichten (letzte 30 Tage)
Paul
Paul am 12 Apr. 2013
For example, I have
field_names{1} = 'height.m.o'
How can I write
field_names{1}=6
to be the same as writing
height.m.o = 6
to create a structure that's 3 deep?

Antworten (0)

Kategorien

Mehr zu Structures finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by