Be the first to rate this file! 14 Downloads (last 30 days) File Size: 1.93 KB File ID: #31162
image thumbnail

uigetimage

by

 

Simple file selection for images supported by IMREAD. Example of how to tailor UIGETFILE for images

| Watch this File

File Information
Description

Use of UIGETFILE tailored for selection of image file(s) with formats supported by IMREAD. Handy, for me, because it saves frequent use of file selection, testing for no file, concatination of path and name, etc.

A dialog box is displayed for the user to fill in, and returns the filename and path strings. You can choose a single file, or several using the Shift and Ctrl keys in the usual way supported by the operating system.

[filename, fpath] = UIGETIMAGE(titl)
 
NEEDS: UIGETFILE
 
Example usage:
Returns full file path to selected file
> fn = uigetimage('Pick a picture file')
 
Returns names and path for file(s selected with default title
> [fn, fpath] = uigetimage;

MATLAB release MATLAB 7.11 (R2010b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.

Contact us