Dear All
I have 730 text files named as file_1.txt, file_2.txt, …,file_730.txt which need to be transfered in MATLAB such that file_1.txt will be transfered during 1st iteration and so on. I don't know how to address such automation. Please help !
Below is the code for the 1st file to be read during 1st iteration:
fID = fopen('file_1.txt','r');diffusion=textscan(fID,'%n %n %n','headerlines',7,'Delimiter','');fclose(fID);
Best Answer