From: RAJKUMAR Palaniappan on
I have to load images using Matlab GUI
for example if i have 100 images in a folder and i want to load 35th image then how can i program for this kind of GUI.directly by giving the the file name i can load a particular image but each time i have to edit the program in this case.so i want to load any file directly by clicking the push botton
From: Jan Simon on
Dear Rajkumar,

> I have to load images using Matlab GUI
> for example if i have 100 images in a folder and i want to load 35th image then how can i program for this kind of GUI.directly by giving the the file name i can load a particular image but each time i have to edit the program in this case.so i want to load any file directly by clicking the push botton

Please describe the appearence of your desired GUI with more details:
What do you want to see, e.g. how many buttons with wich text?
What do you want to achieve? "Load the 35th image" is not enough information, because we do not know how the images are counted.
Would UIGETFILE solve your problem?

Kind regards, Jan
From: RAJKUMAR Palaniappan on
Dear Jan
lets say I have a folder with ten images, and if i click the push button i have to get all the 10 images(like selecting files to upload in you Email) and then i will select the single image and that image should be loaded and used for further use.Then after i select a particular image it should be displayed

Thanking you

Raj

"Jan Simon" <matlab.THIS_YEAR(a)nMINUSsimon.de> wrote in message <i1md4h$klp$1(a)fred.mathworks.com>...
> Dear Rajkumar,
>
> > I have to load images using Matlab GUI
> > for example if i have 100 images in a folder and i want to load 35th image then how can i program for this kind of GUI.directly by giving the the file name i can load a particular image but each time i have to edit the program in this case.so i want to load any file directly by clicking the push botton
>
> Please describe the appearence of your desired GUI with more details:
> What do you want to see, e.g. how many buttons with wich text?
> What do you want to achieve? "Load the 35th image" is not enough information, because we do not know how the images are counted.
> Would UIGETFILE solve your problem?
>
> Kind regards, Jan