I have a number of similarly named files each with a differing number of columns and two variables, height & weight.
Group1.mat,. . . ,GroupN.mat
How do I grab each file and separate the variables into their own values?
Height1,…,HeightN Weight1,…,WeightN
I tried this:
FileTotal = dir('*.mat');i = length(FileTotal);for k = 1:i Height{k} = FileTotal.height Weight{k} = FileTotal.weightend
I've tried other things as well. No luck
Best Answer