首页 > 其他 > 详细

matlab fgetl()

时间:2015-09-14 19:20:11      阅读:230      评论:0      收藏:0      [点我收藏+]
% % file=dir(/home/wang/Desktop/trainset/others/);
% % for i=3:length(file)
% %      path= strcat(/home/wang/Desktop/trainset/others/,file(i).name,\n);
% %      %save(/home/wang/Desktop/trainsetimage_name);
% %      %save result.txt  -ascii path
% %      fid=fopen(./result5.txt,a);
% %      fprintf(fid,path);
% % end



fid=fopen(result5.txt);
line=fgetl(fid);
while ischar(line)
    I=imread(line);
    imshow(I);
    line=fgetl(fid);
    u=input(do you want to continue?);
end
fclose(fid);

 

matlab fgetl()

原文:http://www.cnblogs.com/Wanggcong/p/4807892.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!