[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Windows script
From: |
Christoph Dalitz |
Subject: |
Re: Windows script |
Date: |
Tue, 2 Mar 2004 15:06:39 +0100 |
On Tue, 2 Mar 2004 13:47:12 +0000
address@hidden wrote:
>
> I think my problem is in getting the right octave exe file. I tried to use
> all exe file in Gnu Octave\bin directory but no one of them works with Perl
> script bactick operator giving back anything.
>
On my Win32 system it works with the Cygwin Perl and the Cygwin octave package
as follows:
a) octave script ~/src/octaveperl/t.m contains the code "disp('Hallo!');"
b) perl script code test.pl is
#!/usr/bin/perl
$result = `/usr/bin/octave -q /cygdrive/d/home/src/octaveperl/t.m`;
print $result;
c) calling "test.pl" at the Cygwin prompt prints the output "Hallo!"
/usr/bin/ocatve is a symbolic link to /usr/bin/octave-2.1.42-noatlas.exe.
Christoph
-------------------------------------------------------------
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
-------------------------------------------------------------