|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
Need help with WAITSTART "" /WAIT C:\Apps\R2008bNetwork\bin\matlab.exe -nodesktop
-nosplash -r evldu START "" /WAIT tskill matlab I want task 1 to complete before task 2 is executed. It is not working out as expected. How can I do it? Thanx Kailash |
|
|
Re: Need help with WAITOn Sat, 21 Mar 2009 09:53:08 +0100, srivastava <knsri@...> wrote:
>START "" /WAIT C:\Apps\R2008bNetwork\bin\matlab.exe -nodesktop -nosplash -r evldu >START "" /WAIT tskill matlab > >I want task 1 to complete before task 2 is executed. It is not working >out as expected. How can I do it? Do you get any errors? |
|
|
Re: Need help with WAIT--- In batchworld@..., foxidrive <foxidrive@...> wrote:
> > On Sat, 21 Mar 2009 09:53:08 +0100, srivastava <knsri@...> wrote: > > >START "" /WAIT C:\Apps\R2008bNetwork\bin\matlab.exe -nodesktop -nosplash -r evldu > >START "" /WAIT tskill matlab > > > >I want task 1 to complete before task 2 is executed. It is not working > >out as expected. How can I do it? > > Do you get any errors? I don't get any output of task 1. Reason is that task 2 is executed and Matlab is killed. Kailash |
|
|
Re: Need help with WAITOn Sat, 21 Mar 2009 09:14:53 -0000, "Kailash Srivastava" <knsri@...>
wrote: >--- In batchworld@..., foxidrive <foxidrive@...> wrote: >> >> On Sat, 21 Mar 2009 09:53:08 +0100, srivastava <knsri@...> wrote: >> >> >START "" /WAIT C:\Apps\R2008bNetwork\bin\matlab.exe -nodesktop -nosplash -r evldu >> >START "" /WAIT tskill matlab >> > >> >I want task 1 to complete before task 2 is executed. It is not working >> >out as expected. How can I do it? >> >> Do you get any errors? > >I don't get any output of task 1. Reason is that task 2 is executed and Matlab is killed. Try this to see if matlab is indeed returning before it should: set s=-nodesktop -nosplash -r evldu START "" /WAIT C:\Apps\R2008bNetwork\bin\matlab.exe %s% pause echo done |
|
|
Re: Need help with WAITYour suggestion didn't work. It started Matlab but didn't give any output. However, having got clue from your line, I changed this line as follows:
START "" /WAIT C:\Apps\R2008bNetwork\bin\matlab.exe -nodesktop -nosplash -r evldu pause echo done START "" /WAIT tskill matlab Now if I wait for sufficient long time before pressing any key, Matlab finishes the task. However, if I immediately hit any key, the task is killed before Matlab produces any output. Thanx Kailash --- In batchworld@..., foxidrive <foxidrive@...> wrote: > > On Sat, 21 Mar 2009 09:14:53 -0000, "Kailash Srivastava" <knsri@...> > wrote: > > >--- In batchworld@..., foxidrive <foxidrive@> wrote: > >> > >> On Sat, 21 Mar 2009 09:53:08 +0100, srivastava <knsri@> wrote: > >> > >> >START "" /WAIT C:\Apps\R2008bNetwork\bin\matlab.exe -nodesktop -nosplash -r evldu > >> >START "" /WAIT tskill matlab > >> > > >> >I want task 1 to complete before task 2 is executed. It is not working > >> >out as expected. How can I do it? > >> > >> Do you get any errors? > > > >I don't get any output of task 1. Reason is that task 2 is executed and Matlab is killed. > > > Try this to see if matlab is indeed returning before it should: > > set s=-nodesktop -nosplash -r evldu > START "" /WAIT C:\Apps\R2008bNetwork\bin\matlab.exe %s% > pause > echo done > |
| Free embeddable forum powered by Nabble | Forum Help |