I want a user of my app to be able to input a matrix/array
11 次查看(过去 30 天)
显示 更早的评论
I have made a matlab app and accompanying function. I want the user to have the option to input an array. I don't think they can use the edit field numeric, is there another way to do this?
1 个评论
Mario Malic
2023-11-28
I would suggest to use the UITable component for this purpose. Add buttons to add/remove rows/columns.
回答(1 个)
Cris LaPierre
2023-11-28
编辑:Cris LaPierre
2023-11-28
They can use an edit field. They need to enter it all in one line, though. This approach is best for small arrays.
A = [1 2 3; 4 5 6; 7 8 9]
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!