[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Function Call From Inside A Command File
From: |
Damian Harty |
Subject: |
RE: Function Call From Inside A Command File |
Date: |
Wed, 9 Oct 2013 16:59:36 +0000 |
> > call
> > C:\Octave\Octave3.6.4_gcc4.6.2_20130408\Octave3.6.4_gcc4.6.2\bin\octave.exe
> > -qf weave_damping.m>
>
> This is most likely because you have passed the -f option to octave in your
> command line above. If you look at octave
> --help or read about command line options in the manual [1], you'll notice
> that -f tells Octave to not load
> initialization files. This is probably why your script is not seeing
> functions from packages or other non-default paths
> when called this way.
>
> Can you say why you thought it was necessary to add the -f option or where
> you saw that done in case there's
> some documentation we need to fix?
I tried it without the -f and now it works as advertised.
I got the -f suggestion from
http://www.gnu.org/software/octave/doc/interpreter/Executable-Octave-Programs.html
Thanks for the help. I may have another question slightly further along the
road shortly...
Regards,
Damian
________________________________
CONFIDENTIAL:
The information contained in this email communication is confidential
information intended only for the use of the addressee. Unauthorized use,
disclosure or copying of this communication is strictly prohibited and may be
unlawful. If you have received this communication in error, please notify us
immediately by return email and destroy all copies of this communication,
including all attachments.