blank UItable for receiving user inputs using app designer

조회 수: 31 (최근 30일)
Timothy
Timothy 2025년 12월 8일 12:07
댓글: dpb 2025년 12월 9일 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
Timothy
Timothy 2025년 12월 9일 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 2025년 12월 9일 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.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기

제품


릴리스

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by