Suppress External Program Output with Start

I want the command prompt to never pop up but I need the program to run in parallel with other programs.

 Accepted Answer

On windows, you can try:
system(['cd matlabtest\ & START /min' blanks(1) 'matlabtest.exe'])
This does not open the command prompt and print the answer in MATLAB window. For more details, refer the following post:
https://www.mathworks.com/matlabcentral/answers/374614-how-to-run-a-bat-file-in-background-without-opening-command-prompt?s_tid=answers_rc1-1_p1_MLT
Hope this helps!

More Answers (0)

Categories

Find more on Deployment, Integration, and Supported Hardware 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!