How to run an .exe in the background

12 次查看(过去 30 天)
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

采纳的回答

Jason Ross
Jason Ross 2012-10-4
  2 个评论
FastCar
FastCar 2020-1-24
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 2020-1-24
Use .Net to start the processes. https://www.mathworks.com/matlabcentral/answers/497886-finding-pid-of-external-process-called-from-matlab#answer_407569

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by