How can i make structure inside structure?

181 visualizaciones (últimos 30 días)
Giorgi
Giorgi el 20 de En. de 2015
Comentada: Giorgi el 20 de En. de 2015
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.

Respuesta aceptada

Ilham Hardy
Ilham Hardy el 20 de En. de 2015
  2 comentarios
Giorgi
Giorgi el 20 de En. de 2015
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 el 20 de En. de 2015
Oh thank you I did it now :)

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Structures en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by