フィルターのクリア

coordinate element in table box

2 ビュー (過去 30 日間)
Luca Re
Luca Re 2023 年 12 月 5 日
編集済み: Avni Agrawal 2023 年 12 月 15 日
how can i find position (xx,xx,xx) of this table box?

回答 (1 件)

Avni Agrawal
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.

カテゴリ

Help Center および File ExchangeMigrate GUIDE Apps についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by