Hi,
What I want to do is something like
for m=1:11 for i=1:3 for k=1:5 for x=1:9 strcat(InputCell{m,1},'_', InputCell{1,i},'_',InputCell{m,i}{k},'_',InputCell{m,i}{k,2}{x}) = xlsread(filename,'strcat(InputCell{m,1},'_', InputCell{1,i},'_',InputCell{m,i}{k})', 'InputCell{m,i}{k,2}{x}') end endendend
Where strcat () creates a bunch of new variable names and xlsread reads the corresponding sheet and range… but strcat can only create string text, how can I let Matlab take that as new variable?
And I suppose the xlsread part also doesn't work as it is now… just let you guys know what I am thinking of …
Thanks a lot!
Best Answer