help-octave
[Top][All Lists]
Advanced

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

Re: Newbie problem running *.m files on Octave 3.4.2 on Snow Leopard


From: Ben Abbott
Subject: Re: Newbie problem running *.m files on Octave 3.4.2 on Snow Leopard
Date: Sat, 30 Jul 2011 23:35:23 -0400

On Jul 30, 2011, at 4:40 PM, John Helly wrote:

> Hi.
> 
> I've put /Applications/Octave.app/Contents/MacOS in my path and aliased 
> octave='Octave' and I can start 'octave' from the Terminal command-line but 
> whether I give it a *.m filename or not it always opens up an interactive 
> session.  I expect that if I give it a *.m filename it should run the file 
> and return to the command-line.  Can anyone suggest why this is not working?
> 
> Thanks.
> 
> Cheers.
> --------------
> John Helly, University of California, San Diego / San Diego Supercomputer 
> Center / Scripps Institution of Oceanography / 760 840 8660 mobile / 
> stonesteps7 (Skype) / stonesteps7 (iChat) / http://www.sdsc.edu/~hellyj

>From the thread it looks to me like you've found the problem, but just in case 
>....

$ echo "disp ('Hello World')" > fubar.m
$ /Applications/Octave.app/Contents/Resources/bin/octave -q fubar.m
Hello World

Ben



reply via email to

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