Effacer les filtres
Effacer les filtres

Show rows in uitable - GUI matlab!

1 vue (au cours des 30 derniers jours)
Luis Camilo
Luis Camilo le 15 Jan 2015
Commenté : Image Analyst le 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!

Réponses (1)

Image Analyst
Image Analyst le 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 commentaires
Luis Camilo
Luis Camilo le 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 le 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.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Migrate GUIDE Apps dans Help Center et File Exchange

Tags

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by