Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: how to terminate running matlab script?
Date: Thu, 7 Feb 2008 16:50:03 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 10
Message-ID: <fofcrq$i8v$1@fred.mathworks.com>
References: <f766dv$16o$1@fred.mathworks.com> <f7677a$9dq$1@fred.mathworks.com> <f7681t$hcf$1@fred.mathworks.com> <fofbtp$304$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1202403003 18719 172.30.248.35 (7 Feb 2008 16:50:03 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 7 Feb 2008 16:50:03 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1215962
Xref: news.mathworks.com comp.soft-sys.matlab:449923



"AHMET ANIL DINDAR" <adindar@iku.edu.tr> wrote in message 
<fofbtp$304$1@fred.mathworks.com>...
> Hi all,
> Is there a script instead of ctrl+c?
> 
> AAD

if you put: error('your quitting error message') in an 
mfile, that'll hop out of your code... is that what you're 
looking for?