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.

 Risposta accettata

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!

Più risposte (0)

Categorie

Community Treasure Hunt

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

Start Hunting!

Translated by