imgetfile
Display Open Image dialog box
Description
[
displays the Open Image dialog box. Use this
dialog box in imaging applications to get the name of the image file
a user wants to open. The Open Image dialog box includes only files
that use supported image file formats (listed in filename
,user_canceled
]
= imgetfileimformats
) and DICOM files. When the
user selects a file and clicks Open, imgetfile
returns
the full path of the file in filename
and sets
the user_canceled
return value to false
.
If the user clicks Cancel, imgetfile
returns
an empty character vector (''
) in filename
and
sets the user_canceled
return value to true
.
Note
The Open Image dialog box is modal; it blocks the MATLAB® command line until the user responds.
[
supports name-value
parameter arguments that you can use to control aspects of its behavior.filename
,user_canceled
]
= imgetfile(Name,Value
)
Examples
Input Arguments
Output Arguments
Version History
Introduced before R2006a