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 Center および File ExchangeDevelop 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