num = 173;
f = fopen('outdoor_img_GT.txt','w');
for i = 1 : num
fprintf(f,'%g\n',i);
end
fclose(f);
Matlab写一个数字序列进txt文件
最新推荐文章于 2024-04-04 20:24:58 发布
num = 173;
f = fopen('outdoor_img_GT.txt','w');
for i = 1 : num
fprintf(f,'%g\n',i);
end
fclose(f);