Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

How to stop a process definitely?

Status
Not open for further replies.

Guest

Hi anyone,

My program execute a certain process. I need to be
abble to cancel it at any moment by pressing a button.
The problem is that the process which is executing
contains a pause command. So, the way to stop it must be
of high priority compared to the pause command.

Thanks in advance,

CRIS
 
Replies continue below

Recommended for you

Cris,
There is nothing in Matlab at higher priority than pause. You have to limit the pause command in time ( pause(10) will limit it to 10 seconds).

Joe
BSTEX - Equation viewer for Matlab
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor