I have MATLAB code that uses the Haver datafeed using the Datafeed toolbox, in 32-bit MATLAB R2012a. I compiled this code into a standalone executable using MATLAB Compiler. However, when I try to run the executable on the target machine, I get the following error:
Invalid MEX-file 'C:\Users\QUANTA~1\AppData\Local\Temp\2\quantadmin\mcrCache7.17\Haver_1\toolbox\datafeed\datafeed\haverdatafeed.mexw32': The specified module could not be found. Error in C:\Users\QUANTA~1\AppData\Local\Temp\2\quantadmin\mcrCache7.17\Haver_1\toolbox\datafeed\datafeed\@haver\haver.p>haver (line 31) Error in HaverData (line 149) MATLAB:invalidMEXFile
How can I make this work?
Best Answer