Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Mouse Movement

Subject: Mouse Movement

From: Nikunj Chheda

Date: 11 Jun, 2011 05:01:05

Message: 1 of 3

Hi.. I Tried to create mouse Movement using web camera with red object..

now i want to create mouse click events in matlab..

can any 1 help me.. for the same..

thanks & Regards
nikunj chheda
09820471678

Subject: Mouse Movement

From: Steven_Lord

Date: 13 Jun, 2011 02:55:58

Message: 2 of 3



"Nikunj Chheda" <chheda.nik@gmail.com> wrote in message
news:isusqh$bg4$1@newscl01ah.mathworks.com...
> Hi.. I Tried to create mouse Movement using web camera with red object..
>
> now i want to create mouse click events in matlab..
> can any 1 help me.. for the same..

Use Java's Robot class.

http://download.oracle.com/javase/1,5.0/docs/api/java/awt/Robot.html

--
Steve Lord
slord@mathworks.com
To contact Technical Support use the Contact Us link on
http://www.mathworks.com

Subject: Mouse Movement

From: Yair Altman

Date: 13 Jun, 2011 07:06:04

Message: 3 of 3

"Nikunj Chheda" <chheda.nik@gmail.com> wrote in message <isusqh$bg4$1@newscl01ah.mathworks.com>...
> Hi.. I Tried to create mouse Movement using web camera with red object..
>
> now i want to create mouse click events in matlab..
>
> can any 1 help me.. for the same..
>
> thanks & Regards
> nikunj chheda
> 09820471678


http://UndocumentedMatlab.com/blog/gui-automation-robot/

Yair Altman
http://UndocumentedMatlab.com

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us