On Sat, 26 May 2018, Riccardo (Jack) Lucchetti wrote:
On Sat, 26 May 2018, Andreas Zervas wrote:
> I checked the directory you mentioned. Under win 10, gretl 2017d produces
> an empty plotx.pdf file, using either octave 4.2.1 or 3.4.3. Again under
> win 10, gretl 1.9.12 and 1.9.92 produce empty pdf files in documents\gretl
> directory. So to me the big issue does not seem to be the directory, but
> the empty output file. I would like to remind that this script works under
> win 7 and older versions of gretl and octave.
From what you say, it would appear that octave fails to close the file on
exit on Win 10, but manages to do so somehow on Win7. what happens if you try
running the script directly from the CLI version of octave? Also, if you had
Matlab you could try using that instead of Octave to see if it works.
I wonder if it would help, to end the octave foreign block with an
explicit "exit" or "quit" command?
Allin