how can i display the image in GUI??
Show older comments
This is my code. To read the image from the file and display that image..m able to read the image but m not able to display it. How do i correct it???
someone plz help me out???
handles.output = hObject;
[fn pn] = uigetfile('*.jpg','select jpg file');
complete = strcat(pn,fn);
set(handles.edit2,'String',complete);
str=get(handles.edit2,'String');
I=imread(str);
figure,imshow(I)
Accepted Answer
Categories
Find more on Convert Image Type in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!