how do i get the position(bottom) of dynamically changing rows of my gui table

조회 수: 5 (최근 30일)
So i have a table in my gui which get updated with different selections that i make in my screen . the gui table has different rows and columns, the rows increses with the selections i make in my screens , that means syntax ....Position( left, bottom, width , Height) the value of bottom changes everytime the selection is made . Now my gui table also has columns, the columns remains the same , i want to include a drop down list in one of my columns in the gui , so because the bottom value changes i cannot give a value in bottom the syntax position ( left, x, width,height)... so how can i get the value of the bottom positon in a changing table or row increasing table in gui. so as i can include a drop down list.

채택된 답변

Mario Chiappelli
Mario Chiappelli 2019년 7월 22일
This line of code will return to you the number of rows in your table. Just perform it when you need to return the new length.
rows = length(x(:,1));
Where x is a variable that represents your matrix.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Structures에 대해 자세히 알아보기

태그

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by