Path: news.mathworks.com!not-for-mail
From: "Shane Brennan" <LoopUniverse+SPAM@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: How to generate mouse clicks to the Operating System?
Date: Thu, 13 Sep 2007 02:21:47 +0000 (UTC)
Organization: UC Santa Cruz
Lines: 9
Message-ID: <fca6rr$mld$1@fred.mathworks.com>
Reply-To: "Shane Brennan" <LoopUniverse+SPAM@gmail.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 1189650107 23213 172.30.248.35 (13 Sep 2007 02:21:47 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 13 Sep 2007 02:21:47 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1109661
Xref: news.mathworks.com comp.soft-sys.matlab:428247



I am writing a program which tracks a laser light that is
shined onto a wall. The code is able to track the laser
fine, and I am able to recognize when the user "clicks" (by
turning the laser off and on real quick). However, I do not
know how to transmit this click information to the Operating
System.

What I am wondering is, is there a MATLAB function or some
other method I can use to generate a mouse click?