<firstname.lastname@example.org> wrote in message news:email@example.com... > On Wednesday, August 20, 2008 12:19:56 PM UTC+3, rodney....@gmail.com > wrote: >> On Aug 20, 4:46 pm, wapo <apostolos.georga...@gmail.com> wrote:
> I am new to matlab and i need to learn how to use the gui ,the first thing > i tried to do is to make a sum and diff program with gui and whenever i > need to run it i get the follwoing error, i even tried other ready guis > and still get the same broblem : > ??? Reference to non-existent field 'result'. > > Error in ==> Gui>sum_button_Callback at 164 > set(handles.result,'string',num2srt(y));
How did you launch the GUI? Did you run the function file associated with the GUI or did you launch it by double-clicking on the figure file? For GUIDE GUIs you MUST run the function file; it performs some setup that is necessary for proper execution of the GUI, and double-clicking that figure file doesn't perform that setup.