Monday, December 27, 2010

How to show octave line by line output in real time

So octave will output everything from your script once it ends by default. This can be frustrating if you are trying to troubleshoot a lot of looping. To get the real time line by line output like Matlab you need to include:

more off;

At the beginning of your script. If you like you can put this in your octaverc startup file so you don't have to do this for each script. Hope that saves someone some time.