help-octave
[Top][All Lists]
Advanced

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

Re: disp messages not shown during execution...


From: JuanPi
Subject: Re: disp messages not shown during execution...
Date: Tue, 23 Jul 2013 17:03:23 +0200

On 7/23/13, martine1212 <address@hidden> wrote:
> Isn't disp supposed to do that by default??
>
> so where do you add fflush(stdout)
>
> According to octave's manual
> disp()
>
> there is not room for that fflush(stdout)
>
>
>
> --
> View this message in context:
> http://octave.1599824.n4.nabble.com/disp-messages-not-shown-during-execution-tp4655909p4655923.html
> Sent from the Octave - General mailing list archive at Nabble.com.
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://mailman.cae.wisc.edu/listinfo/help-octave
>

Test the following

for i=1:10
  disp(i);
  pause(0.2);
endfor

for i=1:10
  disp(i);
  fflush(stdout);
  pause(0.2);
endfor


-- 
JuanPi Carbajal
-----
"Ave Imperator, moritvri te salvtant"
Naumachiarii, AD 52


reply via email to

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