Path: news.mathworks.com!newsfeed-00.mathworks.com!newsfeed2.dallas1.level3.net!news.level3.com!postnews.google.com!news2.google.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post02.iad.highwinds-media.com!newsfe23.iad.POSTED!7564ea0f!not-for-mail
From: Walter Roberson <roberson@hushmail.com>
Organization: Canada Eat The Cookie Foundation
User-Agent: Thunderbird 2.0.0.18 (Windows/20081105)
MIME-Version: 1.0
Newsgroups: comp.soft-sys.matlab
Subject: Re: Event queue
References: <fp1cjs$8rl$2@frank-exchange-of-views.oucs.ox.ac.uk> <fp1sjh$9iu$1@canopus.cc.umanitoba.ca> <ggpub4$mdf$1@fred.mathworks.com>
In-Reply-To: <ggpub4$mdf$1@fred.mathworks.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 20
Message-ID: <TYZYk.617$297.186@newsfe23.iad>
NNTP-Posting-Host: 24.79.146.116
X-Complaints-To: internet.abuse@sjrb.ca
X-Trace: newsfe23.iad 1228172211 24.79.146.116 (Mon, 01 Dec 2008 22:56:51 UTC)
NNTP-Posting-Date: Mon, 01 Dec 2008 22:56:51 UTC
Date: Mon, 01 Dec 2008 16:57:21 -0600
Xref: news.mathworks.com comp.soft-sys.matlab:504244


Ryan Ollos wrote:
> roberson@ibd.nrc-cnrc.gc.ca (Walter Roberson) wrote in message <fp1sjh$9iu$1@canopus.cc.umanitoba.ca>...

>> I don't know, but I see that someone has coded FlushEvents.m
>> to remove all events of a given kind from the Matlab queue.

> I have not been able to find the FlushEvents.m that you refer to,

What I was able to find this time was a part of (the old version of?) psych tools,
and reading around a bit it appeared to call a mex routine, and on MS Windows apparently
that mex routine is restricted to removing keyboard presses (with more functionality under
Mac OS.) Not what I'd call a real interface to the Matlab event queue :(

(Note: I have made no attempt myself to figure out how the Matlab event queue operates.)

-- 
.signature note: I am now avoiding replying to unclear or ambiguous postings.
Please review questions before posting them. Be specific. Use examples of what you mean,
of what you don't mean. Specify boundary conditions, and data classes and value
relationships -- what if we scrambled your data or used -Inf, NaN, or complex(rand,rand)?