blank UItable for receiving user inputs using app designer

31 views (last 30 days)
Timothy
Timothy on 8 Dec 2025 at 12:07
Commented: dpb on 9 Dec 2025 at 19:07
I'm attempting to create a UItable that has a number of rows and columns that are blank and editable so that the user can enter data which will then be saved. I know to use the editable argument but since I have no data in the table at the start, there are no fields for the user to edit. I don't want to use zeros and ideally I'd like a new row to be added each time data is put into the final row. Are these things possible?
  7 Comments
Timothy
Timothy on 9 Dec 2025 at 9:19
It's an input and output deck for other code. The other code currently takes input from excel sheets and outputs graphics to a Visio sheet. The data from the Excel sheets is input manually so this interface aims to more conveniently and more reliably replace that. This is why the ability to input data and expand the table is important, since the dataset is not of a known size for each application. Yes each bit of data could be input separately with push buttons to prompt the data collection but that seems like far more steps plus raises the chance of mistakes as the user can't see the full set of data they have already input.
I'm reasonably ok with data verification methods (for an electrical engineer) though I recognise that directly validating at the point of input is more effective and efficient. All the data in the tables is numerical (mostly distances) so I suppose that is simple enough.
dpb
dpb on 9 Dec 2025 at 19:07
An alternate way would be to create N numeric edit entry fields and when user completes a set, then update the table instead of editing directly into the table.

Sign in to comment.

Answers (0)

Categories

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

Products


Release

R2024b

Community Treasure Hunt

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

Start Hunting!