ワーク変数に代入したテーブルをAppDesignerのテーブルコンポーネントに表示させたい
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
和也
am 10 Aug. 2022
Kommentiert: Kojiro Saito
am 18 Aug. 2022
readtableで読み込んだテーブルをワーク変数に代入して処理しています。
その読み込んだテーブルをAppDesignerで作成したアプリのテーブルコンポーネントに表示させたいと考えてます。
どのように記述すればよいでしょうか?
0 Kommentare
Akzeptierte Antwort
Kojiro Saito
am 10 Aug. 2022
uitableのColumnNameとDataを読み取ったテーブルから代入します。
App Designerでのコールバック例
t = readtable('patients.xls');
app.UITable.ColumnName = t.Properties.VariableNames;
app.UITable.Data = t;
2 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu App Designer を使用したアプリ開発 finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!