How can i make structure inside structure?

134 次查看(过去 30 天)
Hi all, Well I want to make a structure in the structure for example
% code
a=struct;
b='c';
d=3;
a.(b).(d);
Reference to non-existent field 'c'.
Any ideas would be a great job for me.

采纳的回答

Ilham Hardy
Ilham Hardy 2015-1-20
  2 个评论
Giorgi
Giorgi 2015-1-20
First of all thank you for your response, well I wrote it and I edited the code but that does not work again I think that the main problem is in creating name of second structure. Any ideas?

请先登录,再进行评论。

更多回答(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