[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Octave on Windows
From: |
LUK ShunTim |
Subject: |
Re: Octave on Windows |
Date: |
Wed, 27 Jan 2010 13:46:27 +0800 |
User-agent: |
Mozilla-Thunderbird 2.0.0.22 (X11/20091109) |
Benjamin Lindner wrote:
> Ying-Foon Chow wrote:
>> Sorry for the "typo" in my previous message, and the attached gif file
>> actually shows the output of gnuplot_binary() after I started Octave is:
>>
>> ans = C:\Octave\3.2.3_gcc-4.4.0\bin\gnuplot.exe
>>
>> Then, I am not getting anything by typing:
>>
>> gnuplot_binary('C:\Octave\3.2.3_gcc-4.4.0\bin\gnuplot.exe')
>>
>> Is this expected? Again, any pointers on the error message shown in the
>> previously attached screen shot is much appreciated.
>>
>
> Hmm, line 33 in __gnuplot_version__ reads
> [status, output] = system (sprintf ("\"%s\" --version", gnuplot_binary ()));
>
> and the error indicates that the call to system() does not return a
> defined value (if I interpret this correctly).
> I don't really have a good idea, so I am staring guessing around.
>
> What does
> system("exit 2")
> return?
>
> And
> system("gnuplot --version")
> ?
>
> And what does
> [foo,bar] = system("echo bla & exit 2")
> return?
I also encounter this problem on a Win XP SP2 running as a virtual
machine under virtualbox. Tried all 3.2.x installers on sourceforge.
This is what I got:
octave:1:C:\> system (sprintf ("\"%s\" --version", gnuplot_binary ()))
gnuplot 4.3.0-2009-07-08 CVS patchlevel 0 octave-mingw32
ans = 0
octave:2:C:\> [status, output] = system (sprintf ("\"%s\" --version",
gnuplot_binary ()))
error: value on right hand side of assignment is undefined
I do *not* have such problems on my laptop with win XP SP2 running on
real hardware. Very strange!
Regards,
ST
--
- Re: Octave on Windows, (continued)
- Re: Octave on Windows, Chengqi Zhang, 2010/01/07
- Re: Octave on Windows, Ying-Foon Chow, 2010/01/11
- Re: Octave on Windows, Tatsuro MATSUOKA, 2010/01/11
- Message not available
- Re: Octave on Windows, Ying-Foon Chow, 2010/01/11
- Re: Octave on Windows, Tatsuro MATSUOKA, 2010/01/11
- Re: Octave on Windows, Benjamin Lindner, 2010/01/12
- Re: Octave on Windows, Ying-Foon Chow, 2010/01/22
- Re: Octave on Windows, Michael Goffioul, 2010/01/22
- Re: Octave on Windows, Ying-Foon Chow, 2010/01/22
- Re: Octave on Windows, Benjamin Lindner, 2010/01/26
- Re: Octave on Windows,
LUK ShunTim <=
- Re: Octave on Windows, Ying-Foon Chow, 2010/01/27
- Re: Octave on Windows, Jaroslav Hajek, 2010/01/28
- Re: Octave on Windows, Benjamin Lindner, 2010/01/28