Path: news.mathworks.com!not-for-mail
From: "Paul " <par@ceri.memphis.edu>
Newsgroups: comp.soft-sys.matlab
Subject: timer and callback routine
Date: Thu, 15 May 2008 23:34:02 +0000 (UTC)
Organization: University of Memphis
Lines: 11
Message-ID: <g0ih9a$brn$1@fred.mathworks.com>
Reply-To: "Paul " <par@ceri.memphis.edu>
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 1210894442 12151 172.30.248.37 (15 May 2008 23:34:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 15 May 2008 23:34:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 233092
Xref: news.mathworks.com comp.soft-sys.matlab:468739


I've trying to code a timer that will start a data
acquisition  program at a certain time.  

The problem I have is that the callback function in the
timer routine is just that ... a call to a 'function'. 
Therefore the more general question would be:  how to
execute a callback 'program' and not a 'function'.  Or
should I just somehow rewrite the data acquisition program
to look like a function?