Hi
%
%for i=113:113data=[];fileID = fopen(['Printout_' num2str(i) '.txt']);block = textscan(fileID, '%s','Delimiter','\n');data=[data; block];fclose(fileID);compact_data=vertcat(data{:});compact_data(1:29:end)=[];compact_data(1:28:end)=[];result_file=fopen(['result_probe_' num2str(i) '.txt'],'w');fprintf(result_file,'%s\r\n',compact_data{1:1:end});clear allend
thank you for the fast response. but how could i do it as whe the loop is going from 113 to 200. it means somthing like this:
maymatlabefile113.mat
maymatlabefile114.mat
maymatlabefile115.mat
maymatlabefile116.mat … . . .maymatlabefile200.mat
Best Answer