App Designer: enter data via table in the GUI

20 views (last 30 days)
App Designer: How do you create an empty table in the App Designer GUI with n columns and m rows into which the user can enter measurement data? The table should then be transferred to a matrix in Matlab, which is used for subsequent calculations. I would like to avoid that the user has to first write the data into an Excel or text table which is then read with readtable.
Thanks for your help!

Answers (1)

Mario Malic
Mario Malic on 27 Dec 2020
Hi Rolf,
Coming a bit late onto this one, but idea is to fill the Data property with zeros or some other numbers, and make sure uitable's property ColumnEditable is true. Set it programmatically or through the App Designer UI.
app.UITable.Data = zeros(2, 3);

Categories

Find more on Develop Apps Using App Designer in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!