Can you keep a Matlab GUI from jumping to foreground when updated
Show older comments
Quick question:
I have a timer that updates a GUI every 5 min. When I write the new data to the GUI, can I do it in a way that the GUI does not jump to the foregound or un-minimize?
Thanks, Adam
3 Comments
Sean de Wolski
on 13 Feb 2013
What exactly is the timer doing? This should be possible as long as you don't call any high-level plotting routines that would grab focus.
Show us the code for the timerfcn and we can maybe help you figure out a different way to do this.
Jan
on 13 Feb 2013
I agree with Sean: It is not the timer function in general, whose is stealing the focus, but a specific command. It is not trivial to locate this command using the debugger, because stepping through the code line by line steals the focus already by activating the editor. But inserting some dummy disp() lines can reveal the responsible command.
Adam
on 13 Mar 2013
Answers (1)
Image Analyst
on 13 Feb 2013
1 vote
Categories
Find more on Entering Commands in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!