Clear Filters
Clear Filters

Suppress External Program Output with Start

1 view (last 30 days)
I want the command prompt to never pop up but I need the program to run in parallel with other programs.

Accepted Answer

Shweta Singh
Shweta Singh on 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!

More Answers (0)

Categories

Find more on Programming 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!