필터 지우기
필터 지우기

Show rows in uitable - GUI matlab!

조회 수: 1 (최근 30일)
Luis Camilo
Luis Camilo 2015년 1월 15일
댓글: Image Analyst 2015년 1월 18일
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!

답변 (1개)

Image Analyst
Image Analyst 2015년 1월 18일
You need to call set() to send the updated array into the table. You might also need to call drawnow after calling set.
  댓글 수: 2
Luis Camilo
Luis Camilo 2015년 1월 18일
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 2015년 1월 18일
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.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by