uigetfiles

A fileselector as uigetfile, with multiple selection which does not require Java
2.4K Downloads
Updated 29 Jan 2009

View License

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 (2024). uigetfiles (https://www.mathworks.com/matlabcentral/fileexchange/22805-uigetfiles), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R13
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.1.0.0

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

1.0.0.0