MATLAB: How to Display a message in a separate window

displayerrorMATLABmessagewindow

Hi guys, I need to Display a message of an eventualy error in a separate window. I create an app based on gui interface but sometimes when error ocured running the script I want to know what error appear and not to wait too much until I realized something is wrong. Thanks.

Best Answer

  • If you're using App Designer use uialert. If you're not using App Designer use msgbox.