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: Update Handle structure in TimerFcn
Replies: 19   Last Post: Oct 18, 2013 10:59 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]

Posts: 6
Registered: 4/6/05
Re: Update Handle structure in TimerFcn
Posted: Apr 6, 2005 2:06 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Tim Jacobs wrote:
> Marco wrote:

>> Hi
>> In a GUI, I defined a timer object.
>> When the timer function is called, I change some data in the
>> handles
>> structure.
>> But how do I save the changed handles data before returning

>> the
>> timer function?
>> Marco,

> Have you tried the standard function for updating the GUI data?
> For example:
> % Update handles structure
> guidata(hObject, handles);
> Tim

The standaard guidata(hObject, handles) doesn't work. Timer Object
can not handle with this.

I can read the handle structure in a timer Object but I can't write
the back. I've tried to use guidata(gcf, handles) but it doesn't
work. (a timer Object can only handle with figures).
Thanks for your comment.

Suggestions are welcome!


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.