The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Problem with Callback function (Error while evaluating uicontrol Callback)
Replies: 1   Last Post: Mar 10, 2013 10:53 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View  
Steven Lord

Posts: 18,038
Registered: 12/7/04
Re: Problem with Callback function (Error while evaluating uicontrol Callback)
Posted: Mar 10, 2013 10:53 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

<> wrote in message
> On Wednesday, August 20, 2008 12:19:56 PM UTC+3,
> wrote:

>> On Aug 20, 4:46 pm, wapo <> 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.

Steve Lord
To contact Technical Support use the Contact Us link on

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.