How do I disable a pop-up command window error when I run the compiled exe?

Hello all, I want to avoid a pop-up error of matlab exe in command window. How can I do it? Thank you, D

Answers (1)

Error messages are important information. Avoiding them is a good idea. To do this remove the cause of the error. The error message will help you to identify the problem.
If you post the complete message here, there is a chance that somebody recognizes the problem.

2 Comments

Thank you for the reply Jan. This case is not a matter of error handling. When you run a compiled program in a batch scheduled environment, you don't want an alert to pop up, because it would remain unnoticed and therefore the execution would not exit with an error code, but just hang. I need to avoid the popup, because I'm not there to press the OK button. Thank you
I have the same problem. Does anyone already have a solution?

Sign in to comment.

Categories

Products

Asked:

on 4 May 2017

Commented:

on 11 Jul 2023

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!