MATLAB Answers

uigetfile MultiSelect does not work on Mac?

3 views (last 30 days)
Yan Jiang
Yan Jiang on 26 Apr 2015
Commented: Yan Jiang on 27 May 2015
I use uigetfile with MultiSelect on in my code. It works fine on a PC but doesn't allow selecting multiple files on a Mac. Is multiselect supported on Mac?
Here's my code: [file_list,PathName] = uigetfile('*.tif','Select the source images','MultiSelect','on');

Accepted Answer

Geoff Hayes
Geoff Hayes on 26 Apr 2015
Yan - yes, multiple file select is supported on a Mac. Using your above line of code on OS X 10.8.5 (with MATLAB R2014a) I was able to select multiple files holding the Command key down while selecting the files.
  1 Comment
Yan Jiang
Yan Jiang on 27 May 2015
You are right. It turned out to be a mistake made by the mac user. Thank you!

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by