<?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: Advanced MATLAB: Capture mouse movement</title>
	<atom:link href="http://blogs.mathworks.com/pick/2008/05/27/advanced-matlab-capture-mouse-movement/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.mathworks.com/pick/2008/05/27/advanced-matlab-capture-mouse-movement/</link>
	<description>&#60;a href=&#34;http://www.mathworks.com/matlabcentral/fileexchange/loadAuthor.do?objectId=1093599&#38;objectType=author&#34;&#62;Brett&#60;/a&#62; &#38; &#60;a href=&#34;http://www.mathworks.com/matlabcentral/fileexchange/loadAuthor.do?objectId=1094142&#38;objectType=author&#34;&#62;Jiro&#60;/a&#62; share favorite user-contributed submissions from the File Exchange.</description>
	<lastBuildDate>Fri, 10 Feb 2012 16:12:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Doug</title>
		<link>http://blogs.mathworks.com/pick/2008/05/27/advanced-matlab-capture-mouse-movement/#comment-14177</link>
		<dc:creator>Doug</dc:creator>
		<pubDate>Wed, 29 Jun 2011 18:26:33 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/pick/2008/05/27/advanced-matlab-capture-mouse-movement/#comment-14177</guid>
		<description>@Zach,

Most of the supporting files were lost at some point.  Sorry about that.

Doug</description>
		<content:encoded><![CDATA[<p>@Zach,</p>
<p>Most of the supporting files were lost at some point.  Sorry about that.</p>
<p>Doug</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: zach</title>
		<link>http://blogs.mathworks.com/pick/2008/05/27/advanced-matlab-capture-mouse-movement/#comment-14170</link>
		<dc:creator>zach</dc:creator>
		<pubDate>Thu, 23 Jun 2011 21:44:07 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/pick/2008/05/27/advanced-matlab-capture-mouse-movement/#comment-14170</guid>
		<description>Where did the files go?</description>
		<content:encoded><![CDATA[<p>Where did the files go?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Doug</title>
		<link>http://blogs.mathworks.com/pick/2008/05/27/advanced-matlab-capture-mouse-movement/#comment-14061</link>
		<dc:creator>Doug</dc:creator>
		<pubDate>Wed, 09 Mar 2011 19:07:33 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/pick/2008/05/27/advanced-matlab-capture-mouse-movement/#comment-14061</guid>
		<description>@Jeremy,

I would expect you to be able to do this.

Doug</description>
		<content:encoded><![CDATA[<p>@Jeremy,</p>
<p>I would expect you to be able to do this.</p>
<p>Doug</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeremy</title>
		<link>http://blogs.mathworks.com/pick/2008/05/27/advanced-matlab-capture-mouse-movement/#comment-14059</link>
		<dc:creator>Jeremy</dc:creator>
		<pubDate>Wed, 09 Mar 2011 17:19:44 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/pick/2008/05/27/advanced-matlab-capture-mouse-movement/#comment-14059</guid>
		<description>Thanks Doug. I&#039;m also trying to make a text object draggable using the same principle. As far as I can tell, the code is correct but the callbacks when clicking on text objects are not being called. Is there a limitation with text objects that I&#039;m not aware of?</description>
		<content:encoded><![CDATA[<p>Thanks Doug. I&#8217;m also trying to make a text object draggable using the same principle. As far as I can tell, the code is correct but the callbacks when clicking on text objects are not being called. Is there a limitation with text objects that I&#8217;m not aware of?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Doug</title>
		<link>http://blogs.mathworks.com/pick/2008/05/27/advanced-matlab-capture-mouse-movement/#comment-14042</link>
		<dc:creator>Doug</dc:creator>
		<pubDate>Wed, 02 Mar 2011 19:56:56 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/pick/2008/05/27/advanced-matlab-capture-mouse-movement/#comment-14042</guid>
		<description>@Jeremy See selection type:

http://www.mathworks.com/access/helpdesk/help/techdoc/ref/figure_props.html#SelectionType</description>
		<content:encoded><![CDATA[<p>@Jeremy See selection type:</p>
<p><a href="http://www.mathworks.com/access/helpdesk/help/techdoc/ref/figure_props.html#SelectionType" rel="nofollow">http://www.mathworks.com/access/helpdesk/help/techdoc/ref/figure_props.html#SelectionType</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeremy</title>
		<link>http://blogs.mathworks.com/pick/2008/05/27/advanced-matlab-capture-mouse-movement/#comment-14037</link>
		<dc:creator>Jeremy</dc:creator>
		<pubDate>Tue, 01 Mar 2011 20:21:34 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/pick/2008/05/27/advanced-matlab-capture-mouse-movement/#comment-14037</guid>
		<description>Hi Doug, This was a great demo. I&#039;ve got the code implemented in my GUI perfectly. I&#039;ve basically got a set of vertical lines that I&#039;m using the mouse to drag up and down. If I grab one, I set it so they all move together. I&#039;m wondering if you have a suggestion on adding a Ctrl+click and grab functionality that I could use to stretch or shrink all of the lines together. Thanks!</description>
		<content:encoded><![CDATA[<p>Hi Doug, This was a great demo. I&#8217;ve got the code implemented in my GUI perfectly. I&#8217;ve basically got a set of vertical lines that I&#8217;m using the mouse to drag up and down. If I grab one, I set it so they all move together. I&#8217;m wondering if you have a suggestion on adding a Ctrl+click and grab functionality that I could use to stretch or shrink all of the lines together. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve L</title>
		<link>http://blogs.mathworks.com/pick/2008/05/27/advanced-matlab-capture-mouse-movement/#comment-13432</link>
		<dc:creator>Steve L</dc:creator>
		<pubDate>Fri, 19 Feb 2010 17:58:20 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/pick/2008/05/27/advanced-matlab-capture-mouse-movement/#comment-13432</guid>
		<description>For reference, I believe Kari&#039;s post #16 has been resolved in &lt;a href=&quot;http://www.mathworks.com/matlabcentral/newsreader/view_thread/274193&quot; rel=&quot;nofollow&quot;&gt;this thread&lt;/a&gt; in the comp.soft-sys.matlab newsgroup.</description>
		<content:encoded><![CDATA[<p>For reference, I believe Kari&#8217;s post #16 has been resolved in <a href="http://www.mathworks.com/matlabcentral/newsreader/view_thread/274193" rel="nofollow">this thread</a> in the comp.soft-sys.matlab newsgroup.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kari</title>
		<link>http://blogs.mathworks.com/pick/2008/05/27/advanced-matlab-capture-mouse-movement/#comment-13430</link>
		<dc:creator>Kari</dc:creator>
		<pubDate>Thu, 18 Feb 2010 13:52:38 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/pick/2008/05/27/advanced-matlab-capture-mouse-movement/#comment-13430</guid>
		<description>Hi

I have a problem plotting to GUI axes in an outside function (in a different M file). This is what I have been trying to do.

&lt;pre&gt;
function plotButton_Callback(hObject, eventdata, handles)
% hObject    handle to plotButton (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
%get the current list of file names from the listbox

outsideFunction(handles);

&lt;/pre&gt;


and in another file outsideFunction.m

&lt;pre&gt;
function outsideFunction(handles)

x = 1:0.1:10;
y = 3x^2 - 2x +5;

axes(handles.myAxes)
plot(x,y);
&lt;/pre&gt;


I get: Error using ==&gt; axes
Invalid object handle</description>
		<content:encoded><![CDATA[<p>Hi</p>
<p>I have a problem plotting to GUI axes in an outside function (in a different M file). This is what I have been trying to do.</p>
<pre>
function plotButton_Callback(hObject, eventdata, handles)
% hObject    handle to plotButton (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
%get the current list of file names from the listbox

outsideFunction(handles);
</pre>
<p>and in another file outsideFunction.m</p>
<pre>
function outsideFunction(handles)

x = 1:0.1:10;
y = 3x^2 - 2x +5;

axes(handles.myAxes)
plot(x,y);
</pre>
<p>I get: Error using ==&gt; axes<br />
Invalid object handle</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://blogs.mathworks.com/pick/2008/05/27/advanced-matlab-capture-mouse-movement/#comment-13423</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Wed, 10 Feb 2010 21:52:18 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/pick/2008/05/27/advanced-matlab-capture-mouse-movement/#comment-13423</guid>
		<description>Hi Doug,

I just wanted to say thanks for this video. I was looking around on the web for a while about how to use mouse events in GUIs, but at first I only found complicated &quot;tutorials.&quot; Yours was very simple and basic, which is just what I needed!

I had the same problem Everest had with an older version of MATLAB not sharing handles across functions. However, I was able to work around it by assigning each handle a unique &#039;Tag&#039;, then using findobj(...) to lock to the appropriate object.

Thanks again,
-Matt-</description>
		<content:encoded><![CDATA[<p>Hi Doug,</p>
<p>I just wanted to say thanks for this video. I was looking around on the web for a while about how to use mouse events in GUIs, but at first I only found complicated &#8220;tutorials.&#8221; Yours was very simple and basic, which is just what I needed!</p>
<p>I had the same problem Everest had with an older version of MATLAB not sharing handles across functions. However, I was able to work around it by assigning each handle a unique &#8216;Tag&#8217;, then using findobj(&#8230;) to lock to the appropriate object.</p>
<p>Thanks again,<br />
-Matt-</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Doug</title>
		<link>http://blogs.mathworks.com/pick/2008/05/27/advanced-matlab-capture-mouse-movement/#comment-13276</link>
		<dc:creator>Doug</dc:creator>
		<pubDate>Wed, 21 Oct 2009 14:07:25 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/pick/2008/05/27/advanced-matlab-capture-mouse-movement/#comment-13276</guid>
		<description>@Lucy

I think this is what you seek to move a line with the mouse in MATLAB.

http://blogs.mathworks.com/videos/2008/05/27/advanced-matlab-capture-mouse-movement/

Doug</description>
		<content:encoded><![CDATA[<p>@Lucy</p>
<p>I think this is what you seek to move a line with the mouse in MATLAB.</p>
<p><a href="http://blogs.mathworks.com/videos/2008/05/27/advanced-matlab-capture-mouse-movement/" rel="nofollow">http://blogs.mathworks.com/videos/2008/05/27/advanced-matlab-capture-mouse-movement/</a></p>
<p>Doug</p>
]]></content:encoded>
	</item>
</channel>
</rss>

