octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #42500] Matlab loadpath includes private direc


From: Muhali
Subject: [Octave-bug-tracker] [bug #42500] Matlab loadpath includes private directories (II)
Date: Wed, 04 Jun 2014 07:39:59 +0000
User-agent: Mozilla/5.0 (X11; Linux i686; rv:30.0) Gecko/20100101 Firefox/30.0

Follow-up Comment #2, bug #42500 (project octave):

> Does the mat file being loaded have to be in the same private directory as
the m-file function?

No. But ML behavior is weird. It finds the file in any directory that is added
via addpath, plus in the private directory of the calling function, but NOT in
other directories of the search path (e.g. toolbox dirs).

> Does a load work if the mat file is under private but the function calling
load is not?

Yes.

> Can it be in a different private directory that is also on the path?

See above.

> I guess the question is how far beyond the real path does the search have to
go? And how important is this and do we really want to fix this? See Rik's
comment on bug #35697.

For me the question is always will it break existing ML scripts, as it was the
case in this report.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?42500>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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