%% Create Datastore for Image Data
% Create a datastore associated with all .tif files in the MATLAB path and its subfolders.

ds = datastore(fullfile(matlabroot, 'toolbox', 'matlab'), 'IncludeSubfolders', true, 'FileExtensions', '.tif', 'DatastoreType', 'image')

%
% Copyright 2015 The MathWorks, Inc.