Thread Subject: resume after ctrl +C ?

Subject: resume after ctrl +C ?

From: Juliette Salexa

Date: 14 Jul, 2009 21:45:03

Message: 1 of 6

I'm just curious, after terminating an execution with Ctrl +C, can we resume ??

If not .. is the best alternative to trype "pause" in the command window rather than ctrl +C ??

Subject: resume after ctrl +C ?

From: Rick Spada

Date: 14 Jul, 2009 22:07:29

Message: 2 of 6

Yes, it's fine to resume your work after pressing Ctrl-C from w/in the command
window.

-- Rick


> I'm just curious, after terminating an execution with Ctrl +C, can we
> resume ??
>
> If not .. is the best alternative to trype "pause" in the command
> window rather than ctrl +C ??
>

Subject: resume after ctrl +C ?

From: Juliette Salexa

Date: 14 Jul, 2009 22:26:03

Message: 3 of 6

how ?

Subject: resume after ctrl +C ?

From: Nathan

Date: 14 Jul, 2009 22:39:56

Message: 4 of 6

On Jul 14, 3:26 pm, "Juliette Salexa" <juliette.physic...@gmail.com>
wrote:
> how ?

Well, considering Ctrl+C seems to break you out of your program/loops,
the way to "resume" would be to start the program over again.

I'm not sure of an alternative, as I'm assuming you want to be able to
stop your program at any given time and resume it when you want to...

Good luck on finding one, though. I would be interested in it as well.

-Nathan

Subject: resume after ctrl +C ?

From: Arash

Date: 15 Jul, 2009 09:21:30

Message: 5 of 6

On Jul 15, 12:45 am, "Juliette Salexa" <juliette.physic...@gmail.com>
wrote:
> I'm just curious, after terminating an execution with Ctrl +C, can we resume ??
>
> If not .. is the best alternative to trype "pause" in the command window rather than ctrl +C ??

Juliette,

I suggest using Break Point in your program to pause.

You could Press F10 to continue from there.

Best Wishes
Arash

Subject: resume after ctrl +C ?

From: Rick Spada

Date: 15 Jul, 2009 13:19:30

Message: 6 of 6

Nathan is correct. If, however, you want to pause and resume consider using
the debugger and setting breakpoints, or using the keyboard command strategically
placed w/in your MATLAB code.

-- Rick

> On Jul 14, 3:26 pm, "Juliette Salexa" <juliette.physic...@gmail.com>
> wrote:
>
>> how ?
>>
> Well, considering Ctrl+C seems to break you out of your program/loops,
> the way to "resume" would be to start the program over again.
>
> I'm not sure of an alternative, as I'm assuming you want to be able to
> stop your program at any given time and resume it when you want to...
>
> Good luck on finding one, though. I would be interested in it as well.
>
> -Nathan
>

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

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.

rssFeed for this Thread

Contact us at files@mathworks.com