MATLAB: Display error messages in message box

display error

Is it possible to display the same error that gets displayed in command window, in a message box….
eg:
Undefined function or variable 'xx'.
is it possible to get the above error message or any error that gets displayed in the command window to a message box…

Best Answer

doc errordlg