This is what I have with my code so far.
a = dir;i=3;d = a(i).name;A = zeros(40,55);while i<=43 A = textscan(fopen(d),'%f %f %f %f %f %f %f %f %f %f %f %f %f %f %s %s %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f %s %s %f %f %f %f %f %f %f %f', 'Delimiter',',','Headerlines',1); A_time = A{1,1}; B_time = num2str(A_time); x = datenum(B_time,'yyyymmddHHMM'); i=i+1;end
I have 43 data files in my folder. when I run this, A becomes a 1×55 cell with data from the first file. I'd like to make it so that the A on the outside of the loop is populated with the cell data from each file folder. Please help
Best Answer