How to add real time data in uitable?

6 views (last 30 days)
How to add real time data in uitable?
I have data coming from arduino through serial port and I need to display in uitable.
How can i do this??
thx n regards sagar

Answers (1)

Image Analyst
Image Analyst on 14 Mar 2015
It only displays the updated data when you call a set() function. So get your data into some array, myData, then call set() whenever you want to update the GUI:
set(handles.uitable1, 'data', myData);
drawnow; % Force immediate refresh of display.
You need to call drawnow if you want it to update immediately otherwise it might not get around to it for a while if you are in a computationally intensive part of your code.

Categories

Find more on Develop Apps Using App Designer 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!