queryMySQL
Platform independent MySQL database solution with blob support.
Author: Jonathan Karr
Edit: as a workaround, I nested the function call and added the path before calling the function. For example:
function dataExporter(db,host)
addpath(fullfile(pwd, 'src'));
exportMysqlData(db,host);
01 Dec 2012
queryMySQL
Platform independent MySQL database solution with blob support.
Author: Jonathan Karr
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.