I wrote code which opens a csv file and progress some calculations. Now, I want to open csv files. It is hard to use 'for' loop ,because file names are irregular.
% d=dir('C:\Users\Donghwan\Desktop\mechanical loads');
c=d(3:9); %select csv files
for i=1:length(c)x=csvread(char(c(i).name)); end
Best Answer