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!