Path: news.mathworks.com!not-for-mail
From: "Bruno Luong" <b.luong@fogale.fr>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Mouse coordinate movement
Date: Sun, 24 Feb 2008 17:57:05 +0000 (UTC)
Organization: FOGALE nanotech
Lines: 17
Message-ID: <fpsb5h$28o$1@fred.mathworks.com>
References: <fprn0h$kgo$1@fred.mathworks.com> <fprp09$d77$1@fred.mathworks.com> <fpsa7h$o5d$1@fred.mathworks.com>
Reply-To: "Bruno Luong" <b.luong@fogale.fr>
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 1203875825 2328 172.30.248.35 (24 Feb 2008 17:57:05 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sun, 24 Feb 2008 17:57:05 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 390839
Xref: news.mathworks.com comp.soft-sys.matlab:453412



"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