for
i = 1:10
name1=num2str(i);
filename=
strcat
(name1,'.bmp);
img = imread(filename);
filename =
strcat
(name1,
'.jpg'
);
imwrite(img,filename);
end
版权声明:本文为xiaojidan2011原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。