|
From: | Chengqi Chang |
Subject: | Re: Print inside loop |
Date: | Thu, 29 Oct 2009 23:44:30 +0800 |
User-agent: | Opera Mail/10.00 (Win32) |
If I put printf() in a for loop, the message doesn't appear until the loop isfinished. Is there any way to output a string before that?--View this message in context: http://www.nabble.com/Print-inside-loop-tp26105461p26105461.htmlSent from the Octave - General mailing list archive at Nabble.com.
for i=1:10; fprintf(stderr, "%d\n",i);fflush(1);end -- Best Regards! --------------------------- Sincerely Yours Chengqi Chang China Center for Economic Research Mail: address@hidden Personal Website: http://macro2.cn
[Prev in Thread] | Current Thread | [Next in Thread] |