Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

QUEUE a Job in MATLAB

Status
Not open for further replies.

nodalDOF

Mechanical
Oct 3, 2005
100
I have faced with a wierd problem. Currently i am running a Matlab job that will run for nearly 2 days.

As soon as this job is done i want to run another script file that contains commands to save a few workspace variables created by previous run (I forgot save these variables in that job).

For this i want to queue this second script file in matlab with out closing the first instance of matlab. Is this possible? Any suggestion are appreciated.

Thanks,
NodalDOF
 
Replies continue below

Recommended for you

Is the first job already running? Why won't it leave Matlab in a suitable state when it is finished?

Cheers

Greg Locock

Please see FAQ731-376 for tips on how to make the best use of Eng-Tips.
 
Greg,

You are correct. Asi sid in my post, my job runs for 2 day and it ends some time on the weekend (sat). As my version of MATLAB has floating license sometimes the software maintenance guys update the system and may reboot sometimes (usually on weekends). I was just worried that i may lose all the data from first job.

Anyway it didnt happen.


nodal
 
Oh, yes, our IT people do that sort of thing. Usually they tell us in advance. Glad it worked out.

Cheers

Greg Locock

Please see FAQ731-376 for tips on how to make the best use of Eng-Tips.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor