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

5 visualizzazioni (ultimi 30 giorni)
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.

Risposta accettata

Mario Chiappelli
Mario Chiappelli il 22 Lug 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.

Più risposte (0)

Categorie

Scopri di più su Structures in Help Center e File Exchange

Tag

Prodotti


Release

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by