Show rows in uitable - GUI matlab!

3 views (last 30 days)
Luis Camilo
Luis Camilo on 15 Jan 2015
Commented: Image Analyst on 18 Jan 2015
Hi!
I have a uitable with dimension 1000x5 and I run a loop that change the values of two columns, row by row, but I can not get my GUI, see the change for the loop because is running and the value is updated the uitable. Therefore, I wonder how I can automatically show in a loop, changing all values in a row and reposition (automatically) my uitable in this row and go down alone? Thank you!

Answers (1)

Image Analyst
Image Analyst on 18 Jan 2015
You need to call set() to send the updated array into the table. You might also need to call drawnow after calling set.
  2 Comments
Luis Camilo
Luis Camilo on 18 Jan 2015
Thanks for your answer. I call set() for updated and show the data in the uitable, but I need that the table in my GUI automatically move to the row of the cycle that is updated in the interface. Drawnow not working for this... I read in forums that used Java properties, but I couldn't with its operation. You have some idea?
Image Analyst
Image Analyst on 18 Jan 2015
No, I don't know how to scroll a table so that the row you want is at the top. Perhaps there is a topRow or FirstLine property ofr something like that (there is for listboxes). Other than that you'll have to look to Yair's undocumentedmatlab.com site.

Sign in to comment.

Categories

Find more on Migrate GUIDE Apps in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!