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
最新推荐文章于 2024-09-23 22:08:37 发布