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

11 visualizaciones (últimos 30 días)
piston_pim_offset
piston_pim_offset el 27 de Nov. de 2023
Respondida: Voss el 27 de Nov. de 2023
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').

Respuestas (1)

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

Categorías

Más información sobre Develop Apps Using App Designer en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by