Path: news.mathworks.com!not-for-mail
From: "David Doria" <daviddoria@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Send an interrupt from a GUI
Date: Fri, 11 Jul 2008 16:29:02 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 10
Message-ID: <g581oe$ic8$1@fred.mathworks.com>
Reply-To: "David Doria" <daviddoria@gmail.com>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1215793742 18824 172.30.248.37 (11 Jul 2008 16:29:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 11 Jul 2008 16:29:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1105197
Xref: news.mathworks.com comp.soft-sys.matlab:478871



I have a GUI with 2 buttons, "GO" and "STOP"

When I press "GO", a function is called that takes a long
time to run.  I would like to make it so when I press "STOP"
the execution is terminated (the same as pressing ctrl+c in
the command window).  How do you do this?

Thanks,

Dave