Warning Log on app designer
3 次查看(过去 30 天)
显示 更早的评论
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!
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/347025/image.png)
0 个评论
采纳的回答
Prabhanjan Mentla
2020-8-20
Hi,
To get the custom warning message that shows up for a specific MATLAB error, you may use try catch statement like this:
try
%Error causing code
catch
% Error handling
End
Hope this helps.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Debugging and Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!