- By the user directly typing into the cells of the table, or
- By programmatically sending some data to the table?
does anyone know how we enter data manually into "uitable"?
2 次查看(过去 30 天)
显示 更早的评论
采纳的回答
Image Analyst
2019-12-29
What do you mean by manually?
If (1), just run the app by clicking on the green run triangle and have the user click inside a cell and start typing.
if (2), just do this
handles.uitable1.Data = yourMatrix; % Or your cell array.
0 个评论
更多回答(1 个)
Ajay Kumar
2019-12-29
One option could be writing callback to button(Enter data) wherein we use inputdlg to get the user inputs for all values and assigning it to uitable there itself.
doc inputdlg
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Migrate GUIDE Apps 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!