I need to be able to access n element of a structure in Matlab.
Let's say I have a structure defined
struc.a = 1;
struc.b = 3;
struc.c = 2;
I would like to be able to access the second element of the structure and get number 3 as an answer.
source
to share