help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Print inside loop


From: Tatsuro MATSUOKA
Subject: Re: Print inside loop
Date: Thu, 29 Oct 2009 20:03:47 +0900 (JST)

Please try

page_screen_output (false)
for i=1:10; disp(i);pause(1);end

However this disable pager.
If you would like to keep pager active,

Please try 
for i=1:10; fprintf(stderr, "%d\n",i);pause(1);end

without 

page_screen_output (false)

Good luck!

Tatsuro
--- RicardoCaruso wrote:

> 
> If I put printf() in a for loop, the message doesn't appear until the loop is
> finished. Is there any way to output a string before that?
> -- 
> View this message in context: 
> http://www.nabble.com/Print-inside-loop-tp26105461p26105461.html
> Sent from the Octave - General mailing list archive at Nabble.com.
> 
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
> 


--------------------------------------
GyaO! - Anime, Dramas, Movies, and Music videos [FREE]
http://pr.mail.yahoo.co.jp/gyao/


reply via email to

[Prev in Thread] Current Thread [Next in Thread]