Loading image into GUI

2 vues (au cours des 30 derniers jours)
Jaanu
Jaanu le 5 Juin 2012
Hi
I am new to matlab. please help me urgently. I have design an GUI and wrote following code to load an image.
% Browse for the image file.
[baseFileName, folder] = uigetfile('*.*', 'Specify an image file');
% Create the full file name.
fullImageFileName = fullfile(folder, baseFileName);
im_dis=imread(fullImageFileName);
axes(handles.axes1);
image(im_dis);
Now i need to use uploaded image which is stored in im_dis with other button function. how can i call that image.
please Help me..
  1 commentaire
Walter Roberson
Walter Roberson le 5 Juin 2012
http://www.mathworks.com/matlabcentral/answers/29922-why-your-question-is-not-urgent-or-an-emergency

Connectez-vous pour commenter.

Réponses (1)

Walter Roberson
Walter Roberson le 5 Juin 2012

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by