From: Matt J on
I have a function in a private class directory: @myclass/private/myfun.m
There is also another copy of myfun.m in some other non-class directory on the path: /mydir/myfun.m

I run depfun('test'), where test.m is a one-line file that creates an instance of @myclass.

The only calls to myfun() are from functions inside the @myclass/ directory.

However, depfun() reports a dependency both on @myclass/private/myfun.m and /mydir/myfun.m, even though the private version should be shadowing it.

I'm wondering why this would be. Is there any reason why depfun() would not be able to detect this shadowing?
From: Matt J on

Any ideas?
 | 
Pages: 1
Prev: Catching mouse move event
Next: cognitive radio