path = 'yourImagesPath\';
img_list = dir(path);
for i=3:length(img_list)
img_full_path = strcat(path, img_list(i).name);
smap = imread(img_full_path);
figure, imshow(smap); % 不断生成的生成新窗口
pause(1); % 这里为了演示关闭过程,进行延时操作
close; % 关闭窗口
end
matlab 如何关闭先前生成的窗口 close
猜你喜欢
转载自blog.csdn.net/jizhidexiaoming/article/details/81062235
今日推荐
周排行