From: Zubia on
i m using external function ..
my GUI include a button "load image" and an axis
i want that if i press button a dialog appear and when i select to open an image it will apper in axis after selection

THIS IS EXTERNAL FUNC

function image1=loadimage
% dialog for opening fingerprint files
%Honors Project 2001~2002
%wuzhili 99050056
%comp sci HKBU
%last update 19/April/2002

[imagefile1 , pathname]= uigetfile('*.bmp;*.BMP;*.tif;*.TIF;*.jpg','Open An Fingerprint image');
if imagefile1 ~= 0
cd(pathname);
image1=readimage(char(imagefile1));
image1=255-double(image1);

end;



THIS IS CALL BACK BEHIND BUTTON
function pushbutton15_Callback(hObject, eventdata, handles)

[image1]=loadimage;


BUT ITZ NOT WORKING PLZZZZZZ HELP ITS URGENT
 | 
Pages: 1
Prev: solutions book
Next: solutions book