clc
clear
Source_Dir='G:\1_2_04_1\prob\dongnanmeneast_15_1920x1080_30\';
fid=fopen('dongnanmeneast.txt','w');
DIRNAME=dir(Source_Dir);
Lable=0;
for i=3:length(DIRNAME)
Image_Name=DIRNAME(i).name;
Sub_Name=fullfile(Source_Dir,Image_Name);
fprintf(fid,'%s ',Sub_Name);
fprintf(fid,'\n');
end
fclose(fid);
clear
Source_Dir='G:\1_2_04_1\prob\dongnanmeneast_15_1920x1080_30\';
fid=fopen('dongnanmeneast.txt','w');
DIRNAME=dir(Source_Dir);
Lable=0;
for i=3:length(DIRNAME)
Image_Name=DIRNAME(i).name;
Sub_Name=fullfile(Source_Dir,Image_Name);
fprintf(fid,'%s ',Sub_Name);
fprintf(fid,'\n');
end
fclose(fid);