Works great but I'm having a similar problem. I have to manually add the "src" directory to get it to work. It hasn't been a problem but now that I'm trying to execute it from a command line, I need to modify the path within the function.
I think it may be a problem with MATLAB. It throws a "syntax error" for the import command before running the code, assuming that the path is static.
To see what I'm talking about, try to enable a breakpoint while "src" directory is not in the path.