In uitable, input data direct display
显示 更早的评论
In uitable GUI, number input for direct display
example mlapp code give me?

回答(1 个)
Rahul
2025-4-15
0 个投票
The following MATLAB Answer can be referred to understand how to add data and make the 'uitable' editable: https://www.mathworks.com/matlabcentral/answers/421656-how-can-i-make-a-table-editable-in-app-designer-to-use-the-resulting-data-matrix
Further, you can add 'CellEdit' callback to the 'uitable' component. inside this callback you can assign the 'Value' of the Numeric Edit Field to the 'event.newdata'.
The following MATLAB Answer might be useful: https://www.mathworks.com/matlabcentral/answers/1773550-uitable-individual-cell-editing-in-app-designer
The following MathWorks documentations can be referred to know more:
'uieditfield': https://www.mathworks.com/help/matlab/ref/uieditfield.html
Thanks.
类别
在 帮助中心 和 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!