How can i make structure inside structure?

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 日

0 投票

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?
Giorgi
Giorgi 2015 年 1 月 20 日
Oh thank you I did it now :)

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeStructures についてさらに検索

質問済み:

2015 年 1 月 20 日

コメント済み:

2015 年 1 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by