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

1 次查看(过去 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 中查找有关 Environment and Settings 的更多信息

标签

产品


版本

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by