coordinate element in table box
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
how can i find position (xx,xx,xx) of this table box?

0 commentaires
Réponses (1)
Avni Agrawal
le 15 Déc 2023
Modifié(e) : Avni Agrawal
le 15 Déc 2023
Hi Luca,
I understand that you want to determine the position of a cell within a table in App Designer. It can be done by using the ‘CellSelectionCallback’ property of the ‘uitable’.
You can refer to the code snippet below for obtaining the location:
% Cell selection callback: UITable
function UITableCellSelection(app, event)
indices = event.Indices;
row = indices(1, 1);
col = indices(1, 2);
end
I hope this helps.
0 commentaires
Voir également
Catégories
En savoir plus sur Develop Apps Using App Designer dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!