help-octave
[Top][All Lists]
Advanced

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

Re: addpath behavior


From: David Bateman
Subject: Re: addpath behavior
Date: Sat, 13 Mar 2010 15:20:05 +0100
User-agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090706)

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 (.....));


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

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?


Next time, the same thing worked.

Your comments/suggestions are much appreciated.

Best,
Amit

------------------------------------------------------------------------

_______________________________________________
Help-octave mailing list
address@hidden
https://www-old.cae.wisc.edu/mailman/listinfo/help-octave


--
David Bateman                                address@hidden
35 rue Gambetta                              +33 1 46 04 02 18 (Home)
92100 Boulogne-Billancourt FRANCE            +33 6 72 01 06 33 (Mob)



reply via email to

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