coordinate element in table box
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
how can i find position (xx,xx,xx) of this table box?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1560834/image.png)
0 comentarios
Respuestas (1)
Avni Agrawal
el 15 de Dic. de 2023
Editada: Avni Agrawal
el 15 de Dic. de 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 comentarios
Ver también
Categorías
Más información sobre Migrate GUIDE Apps en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!