How to disable error box when using system to run compiled application?
Show older comments
I've generated a MATLAB application using R2016b, and I'm running it (the compiled version) using system() in order to test it in various scenarios, many of which result in error by design. Whenever such an error occurs, an error dialog box opens and I have to click 'ok' in order for it to close and the execution to terminate. This gets in the way of automating the testing procedure for multiple tests, as it requires me to wait and click ok in each execution. Is there a way to prevent system() from displaying that box when an error occurs? or at least not wait for it to close in order to continue?
Accepted Answer
More Answers (0)
Categories
Find more on Excel Add-Ins in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!