parallel execution of system command

조회 수: 11 (최근 30일)
Rashmil Dahanayake
Rashmil Dahanayake 2014년 9월 13일
편집: Rashmil Dahanayake 2014년 9월 16일
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