coordinate element in table box
조회 수: 3 (최근 30일)
이전 댓글 표시
how can i find position (xx,xx,xx) of this table box?
댓글 수: 0
답변 (1개)
Avni Agrawal
2023년 12월 15일
편집: Avni Agrawal
2023년 12월 15일
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
참고 항목
카테고리
Help Center 및 File Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!