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!