Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

A Matlab equivalent of C flush()?

932 views
Skip to first unread message

Kevin Hung

unread,
Jan 20, 2000, 3:00:00 AM1/20/00
to
(1) Is there a Matlab function to flush file I/O or screen display like
C function flush()?

(2) What a flush in CMEX?

Thanks.


* Sent from RemarQ http://www.remarq.com The Internet's Discussion Network *
The fastest and easiest way to search and participate in Usenet - Free!


David Sterratt

unread,
Jan 22, 2000, 3:00:00 AM1/22/00
to
>>>>> Kevin Hung writes:

> (1) Is there a Matlab function to flush file I/O or screen display
> like C function flush()?

drawnow does figure displays

--
David C. Sterratt -- http://www.cogsci.ed.ac.uk/~dcs/
Institute for Adaptive and Neural Computation
Division of Informatics, University of Edinburgh
2 Buccleuch Place, Edinburgh EH8 9LW | +44 131 650 4437, FAX 650 6626

charrada

unread,
Jan 20, 2010, 11:03:04 AM1/20/10
to
Kevin Hung <cykhung...@ieee.org.invalid> wrote in message <2107d358...@usw-ex0101-005.remarq.com>...

> (1) Is there a Matlab function to flush file I/O or screen display like
> C function flush()?
>
> (2) What a flush in CMEX?
>
> Thanks.
>
>
> * Sent from RemarQ http://www.remarq.com The Internet's Discussion Network *
> The fastest and easiest way to search and participate in Usenet - Free!
>
try fseek

Jan Simon

unread,
Jan 20, 2010, 4:47:04 PM1/20/10
to
Dear Kevin!

> (1) Is there a Matlab function to flush file I/O or screen display like
> C function flush()?

DRAWNOW flushs the event queue. But you cannot absolutely force the command window to be updated with this. Some output from mexPrintf will stll wait until something other happens.


> * Sent from RemarQ http://www.remarq.com The Internet's Discussion Network *
> The fastest and easiest way to search and participate in Usenet - Free!

Is this advertising?

Kind regards, Jan

Steven Lord

unread,
Jan 21, 2010, 2:01:01 PM1/21/10
to

"Jan Simon" <matlab.T...@nMINUSsimon.de> wrote in message
news:hj7tko$sqr$1...@fred.mathworks.com...

Some services tack on a little ad at the end of messages posted through
their service. As long as they're fairly unobtrusive or small and/or fall
into the 4x80 guideline, I wouldn't worry about them too much.

http://en.wikipedia.org/wiki/Signature_block

--
Steve Lord
sl...@mathworks.com
comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ


0 new messages