Info

This question is closed. Reopen it to edit or answer.

How can I update the display of GUI-1 using data from GUI-2 without making the GUI-1 pop out on the screen... given the fact that I am using a timer that refresh the display ?

1 view (last 30 days)
Hello all,
Here is my problem (kind of hard to explain in one question !). I have 3 GUIs (made with GUIDE) that are exchanging data (I am using setappdata/getappdata in the root 0), in each of them I can modify values of parameters and I am also displaying values from other GUIs.
Then I have a timer which every 2 seconds calls a function using all the parameters from the 3 GUIs. After, I want to set texts in all the GUIs using the output of the function.
I set the timer in the openingfcn one GUI with the timerfcn defined in the same matlab file. My problem comes from the fact that when texts are modified in the 2 others GUIs, the figures pop out on the screen. I would like them not to do that... The way I used to acces the texts from others GUI is done by storing the figures of every GUI with setappdata. Then in my timerfcn I use fig=gettappata(0,'figure') and set(fig.text,'string','...').
I don't have any error message, it is just that the behaviour of my program does not fit my expectation... Any idea of how I should proceed ?
Any hint is welcome. Thank you !

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!