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

6 Ansichten (letzte 30 Tage)
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.

Akzeptierte Antwort

Mario Chiappelli
Mario Chiappelli am 22 Jul. 2019
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.

Weitere Antworten (0)

Kategorien

Mehr zu Structures finden Sie in Help Center und File Exchange

Tags

Produkte


Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by