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 Exchange에서 Structures에 대해 자세히 알아보기

질문:

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