UITableで選択した項目のインデックスの取得
古いコメントを表示
UITableにn行1列の文字データの一覧を表示しています。
その中で選択した項目のインデックスを取得したいのですが、ご教示頂けませんでしょうか?
選択した値は下記のコードでapp.nameとして取得できています。
% Cell selection callback: UITable
function UITable_CellSelection(app, event)
indices = event.Indices;
app.name = app.UITable.Data{indices(1)};
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で App Designer を使用したアプリ開発 についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!