- Wrap your main code in a try-catch block to handle errors and prevent MATLAB from displaying error popups.
- Customize error handling preferences using "setpref" to suppress error dialogs. Please follow this link to know more about "setpref": https://www.mathworks.com/help/matlab/ref/setpref.html
- Instead of displaying errors, log them to a file for later analysis.
Matlab exec file popup error window when it crashes
조회 수: 1 (최근 30일)
이전 댓글 표시
I have created an exe file from my project and I want to forbid it from opening error popup windows when it crashes , anyone ideas ?
Thanks
댓글 수: 0
답변 (1개)
Prateekshya
2024년 7월 23일
Hello Yuri,
There are a few ways to handle the errors occuring during the execution of your project. Please try the below steps:
You can refer to this link for more information on error handling: https://www.mathworks.com/help/matlab/error-handling.html
I hope this helps!
Thank you.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!