Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Problems with Octave on Windows 8: crashes after any error

I have installed (and re-installed) Octave 3 times on Windows 8, and I still can't get it right. The first and most obvious problem is that the prompt is missing; the screen only shows the flashing underscore that follows the prompt. This is not a major problem since the system properly responds to commands.

The major problem is that Octave crashes whenever it encounters a syntax error, instead of politely giving a diagnostic. This makes for extremely tedious software development.

Is there a way around this problem, or do we just have to wait for one side or the other to come up with an accommodation?

like image 995
peter gottlieb Avatar asked Jul 07 '13 16:07

peter gottlieb


1 Answers

I encountered the same problem. I solved it by this: create a shortcut to octave.exe, then right click->property-> change the "target" to something like:

C:\Program Files\Octave\Octave3.6.*_gcc*.*.*\bin\octave.exe -i --line-editing

Then it won't exit if u have syntax errors. I don't understand the meaning of the parameters yet.

reference: http://exciton.eo.yzu.edu.tw/~lab/?p=1121

like image 78
CyberPlayerOne Avatar answered Oct 22 '22 18:10

CyberPlayerOne