Azzera filtri
Azzera filtri

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

25 visualizzazioni (ultimi 30 giorni)
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').

Risposte (1)

Voss
Voss il 27 Nov 2023
old_data = app.UITable.Data;
app.UITable.Data = [old_data; new_data];

Categorie

Scopri di più su Migrate GUIDE Apps in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by