[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: private directories
From: |
Ben Abbott |
Subject: |
Re: private directories |
Date: |
Fri, 02 Mar 2012 06:10:01 -0500 |
On Mar 1, 2012, at 10:43 PM, Muhali <address@hidden> wrote:
> 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.
This is a bug.
Ben