Hi, suppose I want to get a handle to a function inside a package folder +mypackage.
I would have assumed that the following would work:
func = @(X) myfunction(X);
However, I realized that I have to explicitly specify the package name:
func = @(X) mypackage.myfunction(X);
Was this intended? Do I need to specify the package name everytime I try to get a handle to a function inside it? Is there a way around this?
I am using MATLAB R2010b (64-bit) on Windows 7.