Loading image into GUI
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentar
Walter Roberson
am 5 Jun. 2012
http://www.mathworks.com/matlabcentral/answers/29922-why-your-question-is-not-urgent-or-an-emergency
Antworten (1)
Siehe auch
Kategorien
Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!