uigetfiles

A fileselector as uigetfile, with multiple selection which does not require Java

You are now following this Submission

Displays a dialog box for the user to fill in, and returns the filename and path strings. Multiple choices are possible, as well as directory names. Both returned values are then char or cellstr. This function behaves exactly as uigetfile, but in multiple and dirextory mode. The file selector also provides extended functionalities (file edit, sorting, tool tips, filters, wildcards, directory history, ...)

Use strcat(pathname, filesep, filename) to obtain full file name.

options may be: 'Location', [x y]
or [x y]
and 'MultiSelect', 'on'|'off'

Cite As

Emmanuel Farhi (2026). uigetfiles (https://www.mathworks.com/matlabcentral/fileexchange/22805-uigetfiles), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.1.0.0

Fixed handling of names with spaces (e.g. Windows) and sorting.

1.0.0.0