how do i run a loop that extract some file into nested structure
Mostra commenti meno recenti
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 Commenti
Ameer Hamza
il 17 Mag 2020
Can you attach the file gaitvariables_adults.mat?
matteo bottoni
il 18 Mag 2020
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Adding custom doc in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
