%create a vector of day files
%first prompt the user for how many files they will process
IterationDay = input('How many days are you interested in processing? ');
%create a 'for' loop to write file names to matrix
for i=1:IterationDay
dayvec(i) = input('Please enter a file name: ','s');
end
for i=1:length(dayvec)
Day = dayvec(i);
%At this point another program would be called to sequentially deal with each
%day file. The files are in a format 'YYYYMMDD.csv'. It is the '.csv' that
%seems to stump the program (otherwise I can read in the name as a number and
%easily store it in an array) but I don't know how to read the files in without
%the '.csv'
Best Answer