You are on page 1of 1

Load Images:

global im im2
[path,user_cance]=imgetfile();
if user_cance
msgbox(sprintf('Error'),'Error','Error');
return
end
im=imread(path);
im2=im;
axes(handles.axes1);
imshow(im);

You might also like