How to use timer function to update both table and plot in a GUI with real time data?

How to use timer function to update both table and plot in a GUI with real time data?
An example code is highly appreciated!

Answers (1)

Create the timer function as an anonymous function that calls both the table update routine and the GUI plot routine. Or, even easier, as a real function instead of an anonymous function.
See the documentation for timer() to see how to create timers.
Usually the difficulty is more in the fetching of new data to use to update the graphics. To advise on that we would have to know more about how you are updating data.

Categories

Asked:

on 13 Jun 2013

Community Treasure Hunt

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

Start Hunting!