Error Message in uitable GUI
1 次查看(过去 30 天)
显示 更早的评论
I have a editable uitable in a GUI. How can I check the user input data, and if the values are negative, display an error message?
0 个评论
回答(1 个)
Adam
2015-3-19
There's a CellEditCallback in which you can add whatever code you want in response to someone entering something in a cell of the table.
2 个评论
Adam
2015-3-19
Isn't 'data' a cell array from a uitable? In which case you need to apply cell operations or convert to a numerical array if it is pure numbers
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!