Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

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


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

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: 17,944
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



<abo.arqam@gmail.com> wrote in message
news:f5481e07-54c7-487d-8558-f1ba60d5e842@googlegroups.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:

*snip*

> 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
slord@mathworks.com
To contact Technical Support use the Contact Us link on
http://www.mathworks.com




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

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.