[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: addpath bug?
From: |
John W. Eaton |
Subject: |
Re: addpath bug? |
Date: |
Fri, 26 May 2006 13:50:06 -0400 |
On 26-May-2006, Bill Denney wrote:
| On Fri, 26 May 2006, Avraham Rosenberg wrote:
|
| > I tried to append the directory containing my own m-files to
| > LOADPATH:
| > octave:2> addpath("/home/avraham/mfiles//", "-end")
| > ...But the result was that this was prepended
|
| You need to reverse the order of your arguements:
|
| addpath("-end", "/home/avraham/mfiles//")
|
| should work for you.
That will work for older versions of Octave + the addpath from Octave
Forge. In the current Octave sources in CVS, addpath works in a
compatible way, so the "-end" and "-begin" arguments are expected only
once, at the end of the argument list.
jwe