Creating structure from string with full stops

조회 수: 20 (최근 30일)
Paul
Paul 2013년 4월 12일
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?

답변 (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