www.gusucode.com > images 案例代码 matlab源码程序 > images/CreateMontageFromSeriesOfFilesExample.m
%% Create Montage from Series of Files % %% % Create a list of filenames. % Copyright 2015 The MathWorks, Inc. fileFolder = fullfile(matlabroot,'toolbox','images','imdata'); dirOutput = dir(fullfile(fileFolder,'AT3_1m4_*.tif')); fileNames = {dirOutput.name}' %% % Display the sequence of images. montage(fileNames, 'Size', [2 5]);