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

2 vues (au cours des 30 derniers jours)
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.

Réponse acceptée

Mario Chiappelli
Mario Chiappelli le 22 Juil 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.

Plus de réponses (0)

Catégories

En savoir plus sur Structures dans Help Center et File Exchange

Tags

Produits


Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by