How to add data to an existing UITable in app designer?

8 ビュー (過去 30 日間)
limon cu
limon cu 2023 年 11 月 27 日
回答済み: Voss 2023 年 11 月 27 日
Data is loaded to UITable from an Excel file with startupfcn, then some more data is needed to be written to the same UITable. When l try to add more data, the previous data vanishes. l am looking for something like in writematrix('WriteMode','append').

回答 (1 件)

Voss
Voss 2023 年 11 月 27 日
old_data = app.UITable.Data;
app.UITable.Data = [old_data; new_data];

カテゴリ

Help Center および File ExchangeDevelop Apps Using App Designer についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by