Got Questions? Get Answers.
Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Interrupting a batch job and retrieving the workspace

Subject: Interrupting a batch job and retrieving the workspace

From: Halks Halkyard

Date: 13 Sep, 2010 08:25:08

Message: 1 of 2

Hello,

I have a batch job running that, through my own error, runs through more iterations of a loop than I need/want it to. It's essentially a Monte Carlo simulation which is searching a much bigger parameter space than I intended.

I was wondering if it was possible to interrupt the job and still retrieve the variables?

Thanks,

H.

Subject: Interrupting a batch job and retrieving the workspace

From: Walter Roberson

Date: 13 Sep, 2010 11:34:13

Message: 2 of 2

On 13/09/10 3:25 AM, Halks Halkyard wrote:

> I have a batch job running that, through my own error, runs through more
> iterations of a loop than I need/want it to. It's essentially a Monte
> Carlo simulation which is searching a much bigger parameter space than I
> intended.
>
> I was wondering if it was possible to interrupt the job and still
> retrieve the variables?

No, it is too late now. Interruptions would have had to have been coded
in to the program. Even with interactive jobs, there isn't any way to
force it in to the debugger without the program's cooperation.

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us