<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/152231</link>
    <title>MATLAB Central Newsreader - how to terminate running matlab script?</title>
    <description>Feed for thread: how to terminate running matlab script?</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2012 by MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Thu, 12 Jul 2007 21:28:31 -0400</pubDate>
      <title>how to terminate running matlab script?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/152231#382658</link>
      <author>Em Kay</author>
      <description>If i program a script that is taking longer than I expect, what is the way to stop it without closing matlab?  </description>
    </item>
    <item>
      <pubDate>Thu, 12 Jul 2007 21:42:02 -0400</pubDate>
      <title>Re: how to terminate running matlab script?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/152231#382661</link>
      <author>Dan Haeg</author>
      <description>control - c</description>
    </item>
    <item>
      <pubDate>Thu, 12 Jul 2007 21:56:13 -0400</pubDate>
      <title>Re: how to terminate running matlab script?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/152231#382665</link>
      <author>Em Kay</author>
      <description>thanks a lot, somehow this has definitely sped up my work!</description>
    </item>
    <item>
      <pubDate>Thu, 07 Feb 2008 16:34:01 -0500</pubDate>
      <title>Re: how to terminate running matlab script?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/152231#413583</link>
      <author>AHMET ANIL DINDAR</author>
      <description>Hi all,&lt;br&gt;
Is there a script instead of ctrl+c?&lt;br&gt;
&lt;br&gt;
AAD</description>
    </item>
    <item>
      <pubDate>Thu, 07 Feb 2008 16:50:03 -0500</pubDate>
      <title>Re: how to terminate running matlab script?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/152231#413590</link>
      <author>Ian Clarkson</author>
      <description>&quot;AHMET ANIL DINDAR&quot; &amp;lt;adindar@iku.edu.tr&amp;gt; wrote in message &lt;br&gt;
&amp;lt;fofbtp$304$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; Hi all,&lt;br&gt;
&amp;gt; Is there a script instead of ctrl+c?&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; AAD&lt;br&gt;
&lt;br&gt;
if you put: error('your quitting error message') in an &lt;br&gt;
mfile, that'll hop out of your code... is that what you're &lt;br&gt;
looking for?</description>
    </item>
    <item>
      <pubDate>Thu, 07 Feb 2008 17:20:20 -0500</pubDate>
      <title>Re: how to terminate running matlab script?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/152231#413598</link>
      <author>AHMET ANIL DINDAR</author>
      <description>That's it.&lt;br&gt;
&lt;br&gt;
Thanks...&lt;br&gt;
&lt;br&gt;
AAD</description>
    </item>
    <item>
      <pubDate>Thu, 06 Nov 2008 13:32:02 -0500</pubDate>
      <title>Re: how to terminate running matlab script?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/152231#609375</link>
      <author>Shlomi</author>
      <description>&quot;Ian Clarkson&quot; &amp;lt;ian.clarkson@gesturetek.com&amp;gt; wrote in message &amp;lt;fofcrq$i8v$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &quot;AHMET ANIL DINDAR&quot; &amp;lt;adindar@iku.edu.tr&amp;gt; wrote in message &lt;br&gt;
&amp;gt; &amp;lt;fofbtp$304$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &amp;gt; Hi all,&lt;br&gt;
&amp;gt; &amp;gt; Is there a script instead of ctrl+c?&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; AAD&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; if you put: error('your quitting error message') in an &lt;br&gt;
&amp;gt; mfile, that'll hop out of your code... is that what you're &lt;br&gt;
&amp;gt; looking for?&lt;br&gt;
&lt;br&gt;
I'm also looking for a matlab function that replaces Ctrl+C. 'error' is not good for my purpose because it is cought somewhere along the way and my program does not stop.&lt;br&gt;
I want to call the same function that makes Matlab terminate when I press Ctrl+C.</description>
    </item>
    <item>
      <pubDate>Thu, 06 Nov 2008 19:37:04 -0500</pubDate>
      <title>Re: how to terminate running matlab script?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/152231#609436</link>
      <author>Walter Roberson</author>
      <description>Shlomi wrote:&lt;br&gt;
&amp;nbsp;&lt;br&gt;
&amp;gt; I'm also looking for a matlab function that replaces Ctrl+C.&lt;br&gt;
&lt;br&gt;
&amp;gt; I want to call the same function that makes Matlab terminate when I press Ctrl+C.&lt;br&gt;
&lt;br&gt;
There is no way to do that in any version of Matlab that has been released to date.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
-- &lt;br&gt;
.signature note: I am now avoiding replying to unclear or ambiguous postings.&lt;br&gt;
Please review questions before posting them. Be specific. Use examples of what you mean,&lt;br&gt;
of what you don't mean. Specify boundary conditions, and data classes and value&lt;br&gt;
relationships -- what if we scrambled your data or used -Inf, NaN, or complex(rand,rand)?</description>
    </item>
    <item>
      <pubDate>Thu, 06 Nov 2008 20:10:18 -0500</pubDate>
      <title>Re: how to terminate running matlab script?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/152231#609442</link>
      <author>Shlomi</author>
      <description>Walter Roberson &amp;lt;roberson@hushmail.com&amp;gt; wrote in message &amp;lt;3HHQk.22674$ID5.5580@newsfe01.iad&amp;gt;...&lt;br&gt;
&amp;gt; Shlomi wrote:&lt;br&gt;
&amp;gt;  &lt;br&gt;
&amp;gt; &amp;gt; I'm also looking for a matlab function that replaces Ctrl+C.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; I want to call the same function that makes Matlab terminate when I press Ctrl+C.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; There is no way to do that in any version of Matlab that has been released to date.&lt;br&gt;
&lt;br&gt;
Thanks, at least I'll stop trying.</description>
    </item>
  </channel>
</rss>

