Filter löschen
Filter löschen

Wait until an external program finished.

3 Ansichten (letzte 30 Tage)
jose bernardo
jose bernardo am 25 Nov. 2013
Beantwortet: Image Analyst am 25 Nov. 2013
Hi.
I am executing a matlab gui which opens an external programa (PSPICE)to do some simulations and when this simulations finished, matlab has to take some data of them.
How can I do in matlab to wait until the PSPICE finish and then continue with the matlab program?

Antworten (1)

Image Analyst
Image Analyst am 25 Nov. 2013
From the help for system():
system Execute system command and return result.
[status,result] = system('command') calls upon the operating system to
execute the given command. The resulting status and standard output
are returned.
The following trailing character has special meaning:
'&' - For console programs this causes the console to
open. Omitting this character causes console
programs to run iconically. For GUI programs,
appending this character causes the application to
run in the background. MATLAB continues processing.

Kategorien

Mehr zu Parallel Computing finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by