help-octave
[Top][All Lists]
Advanced

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

Re: run Octave from Excel


From: A. S. Budden
Subject: Re: run Octave from Excel
Date: Thu, 30 Oct 2003 09:15:12 +0000
User-agent: Mutt/1.4.1i-nntp3

Thus spake Christoph Dalitz:
> On Thu, 30 Oct 2003 00:26:24 -0800 (PST)
> albert treblataf <address@hidden> wrote:
> >  
> > shell("C:\Program Files\GNU Octave\bin\octave-2.1.42-p2atlas.exe 
> > -testscript.m")
> >  
> > then it opens for an instant and then closes without doing anything.
> > any ideas?
> >  
> The following should work:
> 
>       shell("C:\Cygwin\bin\sh.exe -c 'octave $HOME/testscript.m'")
> 
> where "C:\Cygwin" must be replaced with the root directory of your Cygwin 
> installation
> and "$HOME/testscript.m" with the Unix (!) full path of your octave script.
> 
> Moreover make sure that C:\Cygwin\bin (or whatever that on your system is) is
> part of your search path.
> 
> The search path is determined by the environment variable "PATH" and can be 
> set in
> under "Einstellungen/Systemsteuerung/System/Erweitert/Umgebungsvariablen" (I 
> only
> have a German Windows version;does somoen know the menu names in the English 
> version?).

In Windows XP, it's Start/Settings/Control Panel/System/Advanced/Environment 
Variables

Hope that helps,

Al



-------------------------------------------------------------
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
-------------------------------------------------------------



reply via email to

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