When I use loadlibrary.m function in parallel computations, for example using parameterSweep.m function from Algorithmic Trading 2010 Webinar, it tells me:
??? Error using ==> parallel_function at 598Error in ==> loadlibrary at 264A 'Selected' compiler was not found. You may need to run mex -setup.
But I've ran mex -setup, and have chosen Lcc and also've tried Visual C++ 2005, 2008, Open WATCOM C++, other compilers, but an error is the same…
Without using function 'matlabpool open …' it works well, in R2010b it also works well in all cases. What's wrong with R2011a? How to fix it? Do you have any sugestions, please?
Best Answer