Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Sending "keypress" signals to second computer
Date: Thu, 28 May 2009 15:16:01 +0000 (UTC)
Organization: State University of New York Buffalo
Lines: 16
Message-ID: <gvm9rh$ja1$1@fred.mathworks.com>
References: <gvm8aq$579$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1243523761 19777 172.30.248.37 (28 May 2009 15:16:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 28 May 2009 15:16:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1338558
Xref: news.mathworks.com comp.soft-sys.matlab:543276


I do not know if this is the 'best' way to do this... but could you have the program where there is a keypress event to write a file to the other computer indicating some value or information.  The other computer would have Matlab script running a timer which periodically calls an event to read that file for updated info and then perform some action?

-Dan

"Arni Kristjansson" <arni@post.harvard.edu> wrote in message <gvm8aq$579$1@fred.mathworks.com>...
> 
> Hi - 
> 
> I need to send a signal from a Matlab script on one computer to another computer, which the receiving computer will interpret as a key press. 
> 
> Does anyone know of a simple solution to this?
> 
> Many thanks,
> 
> 
> Arni