help-octave
[Top][All Lists]
Advanced

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

Re: Adding .m into javaoctave


From: Carnë Draug
Subject: Re: Adding .m into javaoctave
Date: Wed, 22 Aug 2012 11:54:42 +0100

On 22 August 2012 10:11,  <address@hidden> wrote:
> By the way this is utter nonsense you cannot "load" a m script file!!!
> Try that directly in octave and see what happens.
> octave.eval("load /home/astie/octave/image-1.0.15/mainProg2108.m;");
>
> Instead you can "run" it
> octave.eval("run /home/astie/octave/image-1.0.15/mainProg2108.m;");

See what the load function does. It is not to load scripts, thta's
well documented in "help load". Look into source maybe? And read the
manual. This section here has a subsections for script files and
another for function files.
http://www.gnu.org/software/octave/doc/interpreter/Functions-and-Scripts.html
After reading the documentation, it will no longer be nonsense

Carnë


reply via email to

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