|
On Apr 24, 11:22 pm, "Matt Fetterman" <mattinjer...@yahoo.com> wrote:
> Trying to make a GUI so that the user can select an image file from the directory, load the file. without the gui I would write: A=imread('joker.tif');
> but with the gui, the user would have the advantage to look in the directory.
>
> I would like to use the "Open File" function in the Toolbar.
> When I use the open file, the default is set so that it opens ".fig" files.
> How could I set the default to .tif files, and then can I make it so it stores the data in some variable.
---------------------------------------------------
Matt:
Sounds tedious and inconvenient for your user. Why don't you just put
all the image filenames into a listbox and let the user click on one
to display it or analyze it? That would be so much easier and
convenient. You could also have a button that lets them specify the
folder. In fact, this is just what MAGIC does. Why don't you check
magic out?
http://www.mathworks.com/matlabcentral/fileexchange/24224
-ImageAnalyst
|