<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Using UIWAIT/UIRESUME to control program flow</title>
	<atom:link href="http://blogs.mathworks.com/community/2011/03/28/using-uiwaituiresume-to-control-program-flow/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.mathworks.com/community/2011/03/28/using-uiwaituiresume-to-control-program-flow/</link>
	<description>News from the intersection of MATLAB, Community, and the web.</description>
	<lastBuildDate>Wed, 22 May 2013 17:07:59 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: Mike</title>
		<link>http://blogs.mathworks.com/community/2011/03/28/using-uiwaituiresume-to-control-program-flow/#comment-7664</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Tue, 29 Mar 2011 13:41:33 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/desktop/2011/03/28/using-uiwaituiresume-to-control-program-flow/#comment-7664</guid>
		<description><![CDATA[@Yair,

 Thanks for that reminder; it is quite important not to mix up the two functions.]]></description>
		<content:encoded><![CDATA[<p>@Yair,</p>
<p> Thanks for that reminder; it is quite important not to mix up the two functions.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yair Altman</title>
		<link>http://blogs.mathworks.com/community/2011/03/28/using-uiwaituiresume-to-control-program-flow/#comment-7663</link>
		<dc:creator>Yair Altman</dc:creator>
		<pubDate>Tue, 29 Mar 2011 08:15:44 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/desktop/2011/03/28/using-uiwaituiresume-to-control-program-flow/#comment-7663</guid>
		<description><![CDATA[I would like to point out the very similar built-in function duo &lt;b&gt;&lt;i&gt;uisuspend&lt;/b&gt;&lt;/i&gt; and &lt;b&gt;&lt;i&gt;uirestore&lt;/b&gt;&lt;/i&gt;, which are similar in functionality and name to the &lt;b&gt;&lt;i&gt;uiwait&lt;/b&gt;&lt;/i&gt; and &lt;b&gt;&lt;i&gt;uiresume&lt;/i&gt; functions presented above. It is important not to confuse between these two function sets, and most importantly, not to confuse between &lt;b&gt;&lt;i&gt;uiresume&lt;/i&gt;&lt;/b&gt; and &lt;b&gt;&lt;i&gt;uirestore&lt;/i&gt;&lt;/b&gt; after using their counterparts earlier in the code – odd things might happen if you do...

Also, note that in Matlab releases up to R2010b, &lt;b&gt;&lt;i&gt;uirestore&lt;/i&gt;&lt;/b&gt; has a minor bug in that it overwrites the figure&#039;s &lt;b&gt;WindowScrollWheelFcn&lt;/b&gt; callback with the &lt;b&gt;WindowKeyPressFcn&lt;/b&gt; value ( http://www.mathworks.com/support/bugreports/646025 ). This bug was finally fixed in R2011a.

IMHO, it would be better to modify &lt;b&gt;&lt;i&gt;uisuspend&lt;/b&gt;&lt;/i&gt; and &lt;b&gt;&lt;i&gt;uirestore&lt;/b&gt;&lt;/i&gt; to simply call their documented counterparts &lt;b&gt;&lt;i&gt;uiwait&lt;/b&gt;&lt;/i&gt; and &lt;b&gt;&lt;i&gt;uiresume&lt;/b&gt;&lt;/i&gt;, because the current situation can easily cause confusion.]]></description>
		<content:encoded><![CDATA[<p>I would like to point out the very similar built-in function duo <b><i>uisuspend</i></b> and <b><i>uirestore</i></b>, which are similar in functionality and name to the <b><i>uiwait</i></b> and <b><i>uiresume</i> functions presented above. It is important not to confuse between these two function sets, and most importantly, not to confuse between </b><b><i>uiresume</i></b> and <b><i>uirestore</i></b> after using their counterparts earlier in the code – odd things might happen if you do&#8230;</p>
<p>Also, note that in Matlab releases up to R2010b, <b><i>uirestore</i></b> has a minor bug in that it overwrites the figure&#8217;s <b>WindowScrollWheelFcn</b> callback with the <b>WindowKeyPressFcn</b> value ( <a href="http://www.mathworks.com/support/bugreports/646025" rel="nofollow">http://www.mathworks.com/support/bugreports/646025</a> ). This bug was finally fixed in R2011a.</p>
<p>IMHO, it would be better to modify <b><i>uisuspend</i></b> and <b><i>uirestore</i></b> to simply call their documented counterparts <b><i>uiwait</i></b> and <b><i>uiresume</i></b>, because the current situation can easily cause confusion.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
