MATLAB: Read multiple image at the same time

read multiple image

Hi everyone! I want to read many image files(.jpg,.png and so on) at the same time. I mean I want to choose the images (shift+all or shift + …). uigetfile gives me to choose one image and uigetdir give one directory.It's not OK for me. which command should I use.? Give me suggestion.

Best Answer

Specify the 'MultiSelect' option to be 'on':
[baseFileName, folder] = uigetfile(...,'MultiSelect', 'on')