[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Octave-2.1.35 and Cygwin-1.3.5
From: |
Topas |
Subject: |
Octave-2.1.35 and Cygwin-1.3.5 |
Date: |
Thu, 29 Nov 2001 10:36:00 +0800 |
I use the oct-rl-edit.cc in the CVS,
and built the Octave-2.1.35 successfully under Cygwin-1.3.5
But, when I run a test program
#! /usr/local/bin/octave -qf
gnuplot_binary="pipe-gnuplot wgnuplot"
putenv("TMPDIR",".");
a=rand(10000,1);
subplot(3,1,1);
plot(a);
b=autocor(a,256);
subplot(3,1,2);
plot(b);
subplot(3,1,3);
plot(abs(fft(b)));
printf("\n");
printf("You can see 3 plots\n");
printf("(1) 10000 points random signal\n");
printf("(2) autocorrelation function of (1)\n");
printf("(3) power spectral density of (1)\n");
printf(" ENTER RETURN TO EXIT\n");
pause;
Some ERROR message appeared, the above prgram worked fine before
The error message is
gnuplot_binary = pipe-gnuplot wgnuplot
error: `center' undefined near line 38 column 7
error: evaluating index expression near line 38, column 7
error: evaluating assignment expression near line 38, column 5
error: called from `autocov' in file
`/usr/local/share/octave/2.1.35/m/signal/autocov.m'
error: called from `autocor' in file
`/usr/local/share/octave/2.1.35/m/signal/autocor.m'
It seems like the problems of environment variable? (I don't sure)
I just wonder if anyone using Octave-2.1.35 under Cygwin-1.3.5 ?
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Octave-2.1.35 and Cygwin-1.3.5,
Topas <=