I am making an app on app designer, I want the user to enter data in tabular form, where the no. of rows can be input by user and then he enters data in 2 columns
3 ビュー (過去 30 日間)
古いコメントを表示

0 件のコメント
回答 (1 件)
Urmila Rajpurohith
2020 年 8 月 26 日
You can use the below call back for "Edit field" to get the number of rows based on user input
function EditFieldValueChanged(app, event)
n = app.EditField.Value;
n =str2double(n);
dt = zeros(n,'double');
app.UITable.Data= dt;
end
Hope this helps!
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Develop Apps Using App Designer についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!