help-octave
[Top][All Lists]
Advanced

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

Re: addpath behavior


From: Amit Saha
Subject: Re: addpath behavior
Date: Sat, 13 Mar 2010 20:43:43 +0530
User-agent: Thunderbird 2.0.0.23 (X11/20090817)

David Bateman wrote:
Amit Saha wrote:
Hi!

When I add a path via 'addpath', it look like it doesn't add the subdirectories. So, this means that I have to add each sub-dir individually. Is this correct? If yes, then how do I tell Octave to include all the sub-dirs under a dir as well without having to tell Octave addpath ( ) for each directory.

addpath (genpath (.....));

Thanks! I missed the genpath ( ) in the docs.


Also, I faced this non-reproducible behavior:

octave:1> addpath("/home/r00t/Writings/new/octave/part4/")
octave:2> maximum(1,2,4)
error: `maximum' undefined near line 2 column 1
I presume you mean

max ([1,2,4])

No, I have a user-defined function.

octave:2> addpath("/home/r00t/Writings/new/octave/part4/octave-scripts")
panic: impossible state reached in file `load-path.cc' at line 657
panic: Aborted -- stopping myself...
attempting to save variables to `octave-core'...
save to `octave-core' complete
Ok that looks like a bug.. Can you give more details?

Like? Does the list support attachments, then I have the core file.

1. GNU Octave, version 3.2.2 ,Octave was configured for "i486-pc-linux-gnu".

Pls. let me know how I can help.

Best Regards,
Amit


--
Journal: http://amitksaha.wordpress.com
ยต-blog: http://twitter.com/amitsaha
IRC: cornucopic on #scheme, #lisp, #math, #linux


reply via email to

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