Filter löschen
Filter löschen

How to run an .exe in the background

20 Ansichten (letzte 30 Tage)
Feng
Feng am 2 Okt. 2012
Kommentiert: Walter Roberson am 24 Jan. 2020
I have an application file that I can run with command system('app.exe')
However I will have to wait for the application to close before I can issue another MatLab command. Is there anyway that I can run this application in the background?
Thanks,
Feng

Akzeptierte Antwort

Jason Ross
Jason Ross am 4 Okt. 2012
  2 Kommentare
FastCar
FastCar am 24 Jan. 2020
Is it possible to run program.exe for a number of times (let's say one for each computer's core) and then let matlab wait until each application has finished?
Walter Roberson
Walter Roberson am 24 Jan. 2020
Use .Net to start the processes. https://www.mathworks.com/matlabcentral/answers/497886-finding-pid-of-external-process-called-from-matlab#answer_407569

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Application Deployment finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by