parallel execution of system command

10 次查看(过去 30 天)
Is there a way to execute a system command (ie calling up a dos executable/bang operator) parallely. Within a for loop I'm calling up an exe file via system(). However it runs for few mins due to the interaction of internet. In windows its possible to open multiple sessions of dos and run executables. How can I get matlab to open multiple parallel dos sessions.

采纳的回答

Rashmil Dahanayake
Rashmil Dahanayake 2014-9-15
编辑:Rashmil Dahanayake 2014-9-16
This can be achieved by invoking the command "start"
system('start myprog1');
system('start myprog2');

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Programming 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by