image thumbnail

UIGETFILES with Java interface

version (1.82 KB) by Shanrong Zhang
This is a new UIGETFILES program with java interface, which allows to select multiple files.


Updated 08 Mar 2004

View License

This is a Java interfaced version of UIGETFILES, that brings multiple file open dialog box.

[filenames, pathname] = uigetfiles displays a dialog box file browser from which the user can select multiple files. The selected files are
returned to FILENAMES as an arrayed strings. The directory containing these files is returned to PATHNAME as a string.

A successful return occurs only if the files exist. If the user selects a file that does not exist, a error message is displayed to the command
line. If the Cancel button is selected, zero is assigned to FILENAMES and current directory is assigned to PATHNAME.

This program has an equivalent function to that of a C version of "uigetfiles.dll" downloadable from under support, file exchange (ID: 331).

It should work for MATLAB with Java 1.3.1 or newer.

Shanrong Zhang
Department of Radiology
University of Texas Southwestern Medical Center


Cite As

Shanrong Zhang (2022). UIGETFILES with Java interface (, MATLAB Central File Exchange. Retrieved .

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

Inspired: myLabel-0.14

Community Treasure Hunt

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

Start Hunting!