Warning Log on app designer
4 views (last 30 days)
Jonathan Moorman on 17 Aug 2020
Hi! I am writing a program on app designer, and am trying to see if there's a way to display a warning message that shows up for a specific MATLAB error? I understand how to use the warning messages themselves, but didn't know if I could tie it to the error below. Thanks!
Prabhanjan Mentla on 20 Aug 2020
To get the custom warning message that shows up for a specific MATLAB error, you may use try catch statement like this:
%Error causing code
% Error handling
For more information on try catch check this link.
You may add warning dialog box something like this in the catch block.
Hope this helps.