<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/164426</link>
    <title>MATLAB Central Newsreader - Mouse coordinate movement</title>
    <description>Feed for thread: Mouse coordinate movement</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, 24 Feb 2008 12:13:05 -0500</pubDate>
      <title>Mouse coordinate movement</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/164426#417041</link>
      <author>Avinash </author>
      <description>Is there any way i can obtain the current mouse coordinate&lt;br&gt;
using matlab?i've found out the way to position my pointer&lt;br&gt;
anywhere on the desktop but how to obtain the current&lt;br&gt;
position of the pointer?</description>
    </item>
    <item>
      <pubDate>Sun, 24 Feb 2008 12:47:06 -0500</pubDate>
      <title>Re: Mouse coordinate movement</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/164426#417043</link>
      <author>Bruno Luong</author>
      <description>&quot;Avinash &quot; &amp;lt;avinash368@mathworks.com&amp;gt; wrote in message&lt;br&gt;
&amp;lt;fprn0h$kgo$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; Is there any way i can obtain the current mouse coordinate&lt;br&gt;
&amp;gt; using matlab?i've found out the way to position my pointer&lt;br&gt;
&amp;gt; anywhere on the desktop but how to obtain the current&lt;br&gt;
&amp;gt; position of the pointer?&lt;br&gt;
&lt;br&gt;
get(0,'PointerLocation')&lt;br&gt;
&lt;br&gt;
Bruno</description>
    </item>
    <item>
      <pubDate>Sun, 24 Feb 2008 17:41:05 -0500</pubDate>
      <title>Re: Mouse coordinate movement</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/164426#417072</link>
      <author>Avinash </author>
      <description>&quot;Bruno Luong&quot; &amp;lt;b.luong@fogale.fr&amp;gt; wrote in message&lt;br&gt;
&amp;lt;fprp09$d77$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &quot;Avinash &quot; &amp;lt;avinash368@mathworks.com&amp;gt; wrote in message&lt;br&gt;
&amp;gt; &amp;lt;fprn0h$kgo$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &amp;gt; Is there any way i can obtain the current mouse coordinate&lt;br&gt;
&amp;gt; &amp;gt; using matlab?i've found out the way to position my pointer&lt;br&gt;
&amp;gt; &amp;gt; anywhere on the desktop but how to obtain the current&lt;br&gt;
&amp;gt; &amp;gt; position of the pointer?&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; get(0,'PointerLocation')&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Bruno&lt;br&gt;
Thanks a ton!!a valuable info.Needed one more information.Is&lt;br&gt;
it possible to implement mouse events like clicks,scroll&lt;br&gt;
using MATLAB programs and implement it in my SIMULINK model&lt;br&gt;
Or do i have to write C codes and then implemenmt in my&lt;br&gt;
SIMULINK model.Pls help.</description>
    </item>
    <item>
      <pubDate>Sun, 24 Feb 2008 17:57:05 -0500</pubDate>
      <title>Re: Mouse coordinate movement</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/164426#417077</link>
      <author>Bruno Luong</author>
      <description>&quot;Avinash &quot; &amp;lt;avinash368@mathworks.com&amp;gt; wrote in message&lt;br&gt;
&amp;lt;fpsa7h$o5d$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; Is&lt;br&gt;
&amp;gt; it possible to implement mouse events like clicks,scroll&lt;br&gt;
&amp;gt; using MATLAB programs and implement it in my SIMULINK model&lt;br&gt;
&amp;gt; Or do i have to write C codes and then implemenmt in my&lt;br&gt;
&amp;gt; SIMULINK model.Pls help.&lt;br&gt;
&lt;br&gt;
When you create a figure (with GUI or not), the following&lt;br&gt;
Callback functions are available to capture mouse actions:&lt;br&gt;
&lt;br&gt;
WindowButtonDownFcn&lt;br&gt;
WindowButtonMotionFcn&lt;br&gt;
WindowButtonUpFcn&lt;br&gt;
WindowScrollWheelFcn&lt;br&gt;
&lt;br&gt;
Bruno</description>
    </item>
    <item>
      <pubDate>Mon, 25 Feb 2008 04:43:05 -0500</pubDate>
      <title>Re: Mouse coordinate movement</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/164426#417113</link>
      <author>Avinash </author>
      <description>&quot;Bruno Luong&quot; &amp;lt;b.luong@fogale.fr&amp;gt; wrote in message&lt;br&gt;
&amp;lt;fpsb5h$28o$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &quot;Avinash &quot; &amp;lt;avinash368@mathworks.com&amp;gt; wrote in message&lt;br&gt;
&amp;gt; &amp;lt;fpsa7h$o5d$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &amp;gt; Is&lt;br&gt;
&amp;gt; &amp;gt; it possible to implement mouse events like clicks,scroll&lt;br&gt;
&amp;gt; &amp;gt; using MATLAB programs and implement it in my SIMULINK model&lt;br&gt;
&amp;gt; &amp;gt; Or do i have to write C codes and then implemenmt in my&lt;br&gt;
&amp;gt; &amp;gt; SIMULINK model.Pls help.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; When you create a figure (with GUI or not), the following&lt;br&gt;
&amp;gt; Callback functions are available to capture mouse actions:&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; WindowButtonDownFcn&lt;br&gt;
&amp;gt; WindowButtonMotionFcn&lt;br&gt;
&amp;gt; WindowButtonUpFcn&lt;br&gt;
&amp;gt; WindowScrollWheelFcn&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Bruno&lt;br&gt;
thanks for the information.But I'm looking for&lt;br&gt;
implementation of mouse events without needing to draw&lt;br&gt;
figures or any additional windows.I simply want to navigate&lt;br&gt;
my desktop and operate the mouse normally but by using a&lt;br&gt;
MATLAB codes only.For example if i ant to click an icon then&lt;br&gt;
i should be able to click on it only by the MATLAB code that&lt;br&gt;
i write to program my mouse.</description>
    </item>
    <item>
      <pubDate>Tue, 26 Feb 2008 00:22:02 -0500</pubDate>
      <title>Re: Mouse coordinate movement</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/164426#417272</link>
      <author>Dan Haeg</author>
      <description>&lt;br&gt;
&amp;gt; thanks for the information.But I'm looking for&lt;br&gt;
&amp;gt; implementation of mouse events without needing to draw&lt;br&gt;
&amp;gt; figures or any additional windows.I simply want to navigate&lt;br&gt;
&amp;gt; my desktop and operate the mouse normally but by using a&lt;br&gt;
&amp;gt; MATLAB codes only.For example if i ant to click an icon then&lt;br&gt;
&amp;gt; i should be able to click on it only by the MATLAB code that&lt;br&gt;
&amp;gt; i write to program my mouse.&lt;br&gt;
&lt;br&gt;
If you are trying to move and click your mouse with matlab&lt;br&gt;
code you can search this site for java robot to find advise&lt;br&gt;
that has already been given.&lt;br&gt;
&lt;br&gt;
Dan</description>
    </item>
  </channel>
</rss>

