Prev: targets for neural network
Next: solutions book
From: ImageAnalyst on 28 Jul 2010 11:45 On Jul 27, 6:43 am, "Zubia " <zubi...(a)hotmail.com> wrote: > thnk u so much my code workd for loading > i have an other problem > i am using a call back function behind an other button for histogram equalization > > function pushbutton5_Callback(hObject, eventdata, handles,image1) > subplot(handles.axes9); > image1=histeq(uint8(image1)); > imagesc(image1); > > %image1 is used is the output parametre for loadimage function as i paste above > but it is giving error undefined function or variable 'loadimage' > > what should i do? ----------------------------------------------------------------------------------- That is not possible - you must have omitted some code. The word "loadimage" does not even show up in your function pushbutton5_Callback() so that function could not produce such an error. Why don't you learn about scope of variables, and things like the "global" keyword or the getappdata & setappdata functions? |