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!
回答(1 个)
Walter Roberson
2013-6-14
0 个投票
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.
类别
在 帮助中心 和 File Exchange 中查找有关 Line Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!