<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/238559</link>
    <title>MATLAB Central Newsreader - Pausing</title>
    <description>Feed for thread: Pausing</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>Sun, 02 Nov 2008 18:27:31 -0500</pubDate>
      <title>Pausing</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/238559#608609</link>
      <author>abe.cool@gmail.com</author>
      <description>Hi Guys,&lt;br&gt;
&lt;br&gt;
I have created a function called &quot;Line&quot;.&lt;br&gt;
&lt;br&gt;
Lets say i am calling the line functions for 5 times with the delay of&lt;br&gt;
3sec, it'll draw the lines.&lt;br&gt;
&lt;br&gt;
Line1(2,3,2,5);&lt;br&gt;
pause(3);&lt;br&gt;
Line1(4,5,2,3);&lt;br&gt;
pause(3);&lt;br&gt;
Line1(7,6,8,9);&lt;br&gt;
pause(3);&lt;br&gt;
etc........&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
There is a pause button in my GUI(Player). If i press that button, the&lt;br&gt;
line drawing function should pause.&lt;br&gt;
&lt;br&gt;
I don't know how to do that.&lt;br&gt;
&lt;br&gt;
Please help me.&lt;br&gt;
&lt;br&gt;
Thank you&lt;br&gt;
&lt;br&gt;
ABE</description>
    </item>
    <item>
      <pubDate>Mon, 03 Nov 2008 06:10:08 -0500</pubDate>
      <title>Re: Pausing</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/238559#608659</link>
      <author>vedenev</author>
      <description>I have following idea:&lt;br&gt;
It is need to make pause buton in your gui. In callback of this button&lt;br&gt;
you make script where it set 1 to user data if click then 0 if click&lt;br&gt;
again then 1 if click again ect. Then in palce where line plot you&lt;br&gt;
need to check efter draw each line if userdata 1, if it 1 than whait&lt;br&gt;
until it become 0. UserData is property in each control you can use&lt;br&gt;
for example UserData of the figure.&lt;br&gt;
&lt;br&gt;
------------------------------------&lt;br&gt;
Maxim Vedenev, Matlab freelancer&lt;br&gt;
&lt;a href=&quot;http://simulations.narod.ru/&quot;&gt;http://simulations.narod.ru/&lt;/a&gt;</description>
    </item>
  </channel>
</rss>

