Hi I have a lot of text files.
%
file1.txtfile2.txt.....file100
i read this files with this function:
%
for k=1:100
fid=fopen(['file_' num2str(k) '.txt']); if fid == -1, error('Cannot open file'),end result{k,1}=textscan(fid,'%f %f %f %f %f'); fclose(fid)end
i want to scip reading file50.txt and file69.txt. How could i do this with matlab. tell hem not to read these both files? Thank you
Best Answer