Path: news.mathworks.com!not-for-mail
From: "Avinash " <avinash368@mathworks.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Mouse coordinate movement
Date: Mon, 25 Feb 2008 04:43:05 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 26
Message-ID: <fpth0p$91o$1@fred.mathworks.com>
References: <fprn0h$kgo$1@fred.mathworks.com> <fprp09$d77$1@fred.mathworks.com> <fpsa7h$o5d$1@fred.mathworks.com> <fpsb5h$28o$1@fred.mathworks.com>
Reply-To: "Avinash " <avinash368@mathworks.com>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1203914585 9272 172.30.248.35 (25 Feb 2008 04:43:05 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 25 Feb 2008 04:43:05 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1138632
Xref: news.mathworks.com comp.soft-sys.matlab:453448



"Bruno Luong" <b.luong@fogale.fr> wrote in message
<fpsb5h$28o$1@fred.mathworks.com>...
> "Avinash " <avinash368@mathworks.com> wrote in message
> <fpsa7h$o5d$1@fred.mathworks.com>...
> > Is
> > it possible to implement mouse events like clicks,scroll
> > using MATLAB programs and implement it in my SIMULINK model
> > Or do i have to write C codes and then implemenmt in my
> > SIMULINK model.Pls help.
> 
> When you create a figure (with GUI or not), the following
> Callback functions are available to capture mouse actions:
> 
> WindowButtonDownFcn
> WindowButtonMotionFcn
> WindowButtonUpFcn
> WindowScrollWheelFcn
> 
> Bruno
thanks for the information.But I'm looking for
implementation of mouse events without needing to draw
figures or any additional windows.I simply want to navigate
my desktop and operate the mouse normally but by using a
MATLAB codes only.For example if i ant to click an icon then
i should be able to click on it only by the MATLAB code that
i write to program my mouse.