<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/170535</link>
    <title>MATLAB Central Newsreader - Pausing Execution</title>
    <description>Feed for thread: Pausing Execution</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, 05 Jun 2008 19:12:01 -0400</pubDate>
      <title>Pausing Execution</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/170535#436069</link>
      <author>David Doria</author>
      <description>When you run a big program, sometimes it would be nice to be&lt;br&gt;
able to say &quot;stop for a second so I can look at something&quot;,&lt;br&gt;
but then continue.  The only way I know how to stop it at&lt;br&gt;
all is with ctrl-c.  Is there something similar to an&lt;br&gt;
&quot;interrupt&quot; where in your program you can say &quot;pause if a&lt;br&gt;
key is pressed&quot; without polling every time through a loop?&lt;br&gt;
&lt;br&gt;
This seems like a very common thing to want to do, at least&lt;br&gt;
among my coworkers.&lt;br&gt;
&lt;br&gt;
Any suggestions would be great.&lt;br&gt;
&lt;br&gt;
Thanks,&lt;br&gt;
Dave</description>
    </item>
    <item>
      <pubDate>Thu, 05 Jun 2008 19:17:14 -0400</pubDate>
      <title>Re: Pausing Execution</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/170535#436071</link>
      <author>roberson@ibd.nrc-cnrc.gc.ca (Walter Roberson)</author>
      <description>In article &amp;lt;g29dq1$li5$1@fred.mathworks.com&amp;gt;,&lt;br&gt;
David Doria &amp;lt;daviddoria@gmail.com&amp;gt; wrote:&lt;br&gt;
&amp;gt;When you run a big program, sometimes it would be nice to be&lt;br&gt;
&amp;gt;able to say &quot;stop for a second so I can look at something&quot;,&lt;br&gt;
&amp;gt;but then continue.  The only way I know how to stop it at&lt;br&gt;
&amp;gt;all is with ctrl-c.  Is there something similar to an&lt;br&gt;
&amp;gt;&quot;interrupt&quot; where in your program you can say &quot;pause if a&lt;br&gt;
&amp;gt;key is pressed&quot; without polling every time through a loop?&lt;br&gt;
&lt;br&gt;
No there isn't, not in Matlab itself. See though this&lt;br&gt;
recent thread,&lt;br&gt;
&lt;br&gt;
&lt;a href=&quot;http://www.mathworks.com/matlabcentral/newsreader/view_thread/170023&quot;&gt;http://www.mathworks.com/matlabcentral/newsreader/view_thread/170023&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
&quot;COMMAND WINDOW INTERRUPT&quot;&lt;br&gt;
&lt;br&gt;
-- &lt;br&gt;
&amp;nbsp;&amp;nbsp;&quot;Is there any thing whereof it may be said, See, this is new? It hath&lt;br&gt;
&amp;nbsp;&amp;nbsp;been already of old time, which was before us.&quot;    -- Ecclesiastes</description>
    </item>
    <item>
      <pubDate>Thu, 05 Jun 2008 19:46:01 -0400</pubDate>
      <title>Re: Pausing Execution</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/170535#436080</link>
      <author>David Doria</author>
      <description>has anyone used that dbloop function? The comment on the&lt;br&gt;
file exchange says it slows the code down significantly - is&lt;br&gt;
this true?&lt;br&gt;
&lt;br&gt;
Also, how do you set a breakpoint programmatically?</description>
    </item>
    <item>
      <pubDate>Thu, 05 Jun 2008 19:47:17 -0400</pubDate>
      <title>Re: Pausing Execution</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/170535#436081</link>
      <author>roberson@ibd.nrc-cnrc.gc.ca (Walter Roberson)</author>
      <description>In article &amp;lt;g29fpp$76d$1@fred.mathworks.com&amp;gt;,&lt;br&gt;
David Doria &amp;lt;daviddoria@gmail.com&amp;gt; wrote:&lt;br&gt;
&lt;br&gt;
&amp;gt;Also, how do you set a breakpoint programmatically?&lt;br&gt;
&lt;br&gt;
See the help for dbstop .&lt;br&gt;
-- &lt;br&gt;
&amp;nbsp;&amp;nbsp;&quot;Prevention is the daughter of intelligence.&quot;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;-- Sir Walter Raleigh</description>
    </item>
  </channel>
</rss>

