Effacer les filtres
Effacer les filtres

Suppress External Program Output with Start

1 vue (au cours des 30 derniers jours)
Russell Marki
Russell Marki le 19 Juin 2018
I want the command prompt to never pop up but I need the program to run in parallel with other programs.

Réponse acceptée

Shweta Singh
Shweta Singh le 19 Juin 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!

Plus de réponses (0)

Catégories

En savoir plus sur Programming dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by