Borrar filtros
Borrar filtros

Show rows in uitable - GUI matlab!

1 visualización (últimos 30 días)
Luis Camilo
Luis Camilo el 15 de En. de 2015
Comentada: Image Analyst el 18 de En. de 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!

Respuestas (1)

Image Analyst
Image Analyst el 18 de En. de 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 comentarios
Luis Camilo
Luis Camilo el 18 de En. de 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 el 18 de En. de 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.

Iniciar sesión para comentar.

Categorías

Más información sobre Migrate GUIDE Apps en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by