[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 14:10:27 +0100 |
On Tue, 2 Mar 2004 12:54:57 +0000
address@hidden wrote:
>
> I'm running Gnu Octave on a Windows XP, I wrote an Octave script that works
> great if I execute it inside the Gnu Octave environment.
> Now I need to execute this script from an external perl script, and get
> the result back in the Perl script to work on it. How can I execute Octave
> script from an external Perl script?
>
Give the path/file name of your script as a command line parameter to
the octave interpreter. E.g. from the Cygwin shell
echo "disp('Hallo');" > t.m
octave -q t.m
The same works from a perl script, eg. with the backquote operator.
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
-------------------------------------------------------------
- Windows script, p . libardi, 2004/03/02
- Re: Windows script,
Christoph Dalitz <=