help-octave
[Top][All Lists]
Advanced

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

private directories


From: Muhali
Subject: private directories
Date: Thu, 1 Mar 2012 19:43:48 -0800 (PST)

I noticed that private directories are treated differently in matlab and
octave. If in a function a file from the private directory is loaded this is
recognized by matlab but not by octave, as in the following example where
foo.mat resides in /foo/private:

-------------------
% /foo/fun.m
function y = fun()
   load foo.mat
end
-------------------

%> cd /foo; octave --no-init-file -q
octave:> fun
error: load: unable to find file foo.mat
error: called from:
error:   /foo/fun.m at line 3, column 4

Should this be considered a bug or a missing feature?

M.


--
View this message in context: 
http://octave.1599824.n4.nabble.com/private-directories-tp4437374p4437374.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

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