help-octave
[Top][All Lists]
Advanced

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

Re: problem with gnuplot and octave, 2.9.19, MSVC build on windows XP


From: Michael Goffioul
Subject: Re: problem with gnuplot and octave, 2.9.19, MSVC build on windows XP
Date: Mon, 17 Dec 2007 22:59:38 +0100

On 12/17/07, N. B. <address@hidden> wrote:
>
> I tried just a tad bit more. Maybe it doesn't make any sense, I don't know,
> but I tried popen2 instead of popen. Still it doesn't work, but it fails
> silently and the handle is not -1. On the other hand experimenting with the
> scripts, I stumbled on yet something else. There is a code in
> __gnuplot_version__.m:
> [status, output] = system (sprintf ("%s --version", gnuplot_binary ()));
> This seems to work under linux (Fedora 8, octave 2.9.15), but in windows, it
> gives an error:
>
> octave:1> [status, output] = system (sprintf ("%s --version", gnuplot_binary
> ()));
> error: value on right hand side of assignment is undefined
> error: evaluating assignment expression near line 1, column 19

So, if I understand correctly, sytem("pgnuplot") works OK, but not the
code above, right? What does gnuplot_binary returns? Do you have
the DISPLAY variable defined?

Michael.


reply via email to

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