Show rows in uitable - GUI matlab!

3 visualizzazioni (ultimi 30 giorni)
Luis Camilo
Luis Camilo il 15 Gen 2015
Commentato: Image Analyst il 18 Gen 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!

Risposte (1)

Image Analyst
Image Analyst il 18 Gen 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 Commenti
Luis Camilo
Luis Camilo il 18 Gen 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 il 18 Gen 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.

Accedi per commentare.

Categorie

Scopri di più su Migrate GUIDE Apps in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by