Consider following toy example:
a=0;
for i=1:5000
a=a+1
end
a;
When I run this loop in octave, no output is sent to the terminal till
the very last function evaluation has been performed. This is ok for a
small script, but for large and time-consuming scripts it is really
necessary that you can follow what's going on.
I tried enabling immediate output by following means, but all failed:
* page_output_immediately(1)
* more off
* fflush(stdout)
Does anyone of you know a way to enable the immediate output behavior?
I am working with octave 3.2.3, within emacs.
Many thanks,
Aditya