parallel execution of system command

3 Ansichten (letzte 30 Tage)
Rashmil Dahanayake
Rashmil Dahanayake am 13 Sep. 2014
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.

Akzeptierte Antwort

Rashmil Dahanayake
Rashmil Dahanayake am 15 Sep. 2014
Bearbeitet: Rashmil Dahanayake am 16 Sep. 2014
This can be achieved by invoking the command "start"
system('start myprog1');
system('start myprog2');

Weitere Antworten (0)

Kategorien

Mehr zu MATLAB 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