From: Chris on
Hello all,

I am writing a function that calls an '.exe' file with winopen, which is nothing more than a previously written C++ routine. I need my MATLAB code to pause execution until the '.exe' file is done running.

Is there a better way to do this than just using a timer and the wait command?

Chris
From: James Tursa on
"Chris " <solidsnake56982000(a)yahoo.com> wrote in message <hcmm86$n38$1(a)fred.mathworks.com>...
> Hello all,
>
> I am writing a function that calls an '.exe' file with winopen, which is nothing more than a previously written C++ routine. I need my MATLAB code to pause execution until the '.exe' file is done running.
>
> Is there a better way to do this than just using a timer and the wait command?
>
> Chris

doc system

James Tursa