1 Files = dir(strcat('D:\database2\test\standard\','\*.bmp')); 2 N = length(Files); 3 for i = 1:1:N 4 fileName = Files(i).name; 5 movefile(['D:\database2\test\standard\' fileName],['D:\database2\test\Temp\' num2str(i,'%02d') '-1.bmp']); 6 end
1 Files = dir(strcat('D:\database2\test\standard\','\*.bmp')); 2 N = length(Files); 3 for i = 1:1:N 4 fileName = Files(i).name; 5 movefile(['D:\database2\test\standard\' fileName],['D:\database2\test\Temp\' num2str(i,'%02d') '-1.bmp']); 6 end