Retrieve batch job results when matlab closed

3 views (last 30 days)
Hi, I've been running a bunch of batch jobs on my machine but accidentally closed matlab. So now that the jobs have completed on the workers I can't retrieve the results with 'fetchOutputs'. What I have done though before closing matlab was saveing the workspace, but when loading the mat file I get a warning that says job objects cannot be loaded from a .mat file. So it seems I've lost connection witht the workers.
Any help with the below is appreciated: Is there a way to retrieve the results? Is it known where the workers save their results? could I have save the workspace differently so I could load it and use fetchOutputs later on?
Thanks
Sina
  2 Comments
Adam
Adam on 31 Aug 2016
As far as I know unless you explicitly saved the actual results then they will be lost when the workers are killed off (i.e. when Matlab closes). If all you saved to .mat was some representation of the workers rather than the raw results then I doubt you can retrieve results from there.
Sina Shojaei
Sina Shojaei on 31 Aug 2016
I think you're right by the look of it. But still hoping to save a day worth of work Cheers

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!