Suppress External Program Output with Start

1 Ansicht (letzte 30 Tage)
Russell Marki
Russell Marki am 19 Jun. 2018
Beantwortet: Shweta Singh am 19 Jun. 2018
I want the command prompt to never pop up but I need the program to run in parallel with other programs.

Akzeptierte Antwort

Shweta Singh
Shweta Singh am 19 Jun. 2018
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!

Weitere Antworten (0)

Kategorien

Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by