how do i run a loop that extract some file into nested structure
Mostrar comentarios más antiguos
gaitvariable is the structure that i have. Inside that there are more structures called P#. Each P# contains more row vectors. I would like to create a loop that give me the concatanation of the pic's vector, as follow:
t_stride_total=[t_strideP345,t_strideP89....]

I only started the code because I found difficulties with fields of structure
adult_abs=[];
adult_rel=[];
filename = 'gaitvariables_adults.mat';
T = load(filename);
C = struct2cell(T);
folder= C{1}
D= struct2cell(folder);
subfolder= D{1}
2 comentarios
Ameer Hamza
el 17 de Mayo de 2020
Can you attach the file gaitvariables_adults.mat?
matteo bottoni
el 18 de Mayo de 2020
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Adding custom doc en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
