How do I get the user selection from a table created using guide. matlab.ui.control.Table
Afficher commentaires plus anciens
I have a complex plotting tool written with a gui using guide. Within that gui are multiple objects, one of which is a table object called 'tableScores'.
I want the user to be able to select parts of that table, then click a command button, then a scrips will run that plots selected values from that table. That's all quite simple.
However, within the command buttons callback, I can't work out how to access the users selected cells from the table.
I can get handles.tableScores.Data which is the tables data.
handles.tableScores.Selection exists, but is empty, despite the user having selected cells within the table.
I just can't find the name of the property for user selection within a table.
I'm using MATLAB 2020a
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Develop Apps Using App Designer dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!