help-octave
[Top][All Lists]
Advanced

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

Re: run Octave from Excel


From: Miquel Cabanas
Subject: Re: run Octave from Excel
Date: Thu, 30 Oct 2003 09:36:29 +0100
User-agent: Mutt/1.3.28i

hi,

On Thu, Oct 30, 2003 at 12:26:24AM -0800, albert treblataf wrote:
>  
> when I run the same code with the name of the file I want to run ie
>  
> 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?
>  

does the windows version of octave require the dash '-' in front
of the script file name? the unix version doesn't ... try removing
it, i.e.

shell("C:\Program Files\GNU Octave\bin\octave-2.1.42-p2atlas.exe testscript.m")

also, make sure testscript.m is in octave's path.

Miquel


-- 
Miquel E Cabanas ------------------------------------------------------
SeRMN, Universitat Autonoma de Barcelona (address@hidden)
------------------------------------------o-oo--ooo---ooo--oo-o--------



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