Hi there, I just have a general question about MATLAB GUIs: is it possible to display error messages within an 'edit' text box? For example, if I have a simple GUIDE-generated GUI which runs code when a pushbutton is pressed, I know that I can use 'edit' text boxes to put in mathematical values ( the 'input boxes').
If I was to put a word instead of a number into the input boxes, I know that there will be an error displayed on the MATLAB command window-however, is there a line of code which would allow me to display this message (or another message) in the input boxes, if the pushbutton were to be pressed?
Any suggestion would be most helpful!
-Nathan.
Best Answer