Image Processing Toolbox User's Guide Previous page   Next Page
imgetfile

Displays Open Image dialog box

Syntax

Description

[filename, user_canceled] = imgetfile displays the Open Image dialog box for the user to fill in, and returns the full path to the file selected in filename. If the user presses the Cancel button, user_canceled will be TRUE. Otherwise, user_canceled will be FALSE.

The Open Image dialog box is modal; it blocks the MATLAB command line until the user responds. The file types listed in the dialog are all formats listed in imformats plus DICOM.

See Also

imformats, imtool, uigetfile


Previous page  imgcf imhandles Next page

© 1994-2005 The MathWorks, Inc.