I have successfully built my series of M script files (including Pairs.m) with deploytool in the Matlab Builder NE toolbox. I also checked the support setting of the package build to ensure the Econemtric toolbox function I am calling which is egcitest. Everything seems to bridge ok between my C# application and the Builder NE toolbox generated DLL. When it calls egcitest, I get a strange exception from Matlab Compiler Runtime (MCR) which is:
.. MWMCR::EvaluateFunction error … Error using ==> load Unable to read file Data_EGCITest: No such file or directory. Error in => Pairs.m at line nn
How is this possible if the Matlab Builder NE setting includes the support of egcitest from the Econometrics toolbox. Can anyone help me on this? I am using Matlab 2011a and Visual Studio 2010 Ultimate. Thanks
Best Answer