blank UItable for receiving user inputs using app designer

31 visualizaciones (últimos 30 días)
Timothy
Timothy el 8 de Dic. de 2025 a las 12:07
Comentada: dpb el 9 de Dic. de 2025 a las 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 comentarios
Timothy
Timothy el 9 de Dic. de 2025 a las 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 el 9 de Dic. de 2025 a las 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.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

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

Productos


Versión

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by