Problem with deployment of .mexw32?

I have created a .dll package in Matlab 2010b, containing multiple files, using Matlab Builder NE and it's working as expected in the developement environment. But when i execute the same application together with my web service, on an IIS 7 where I got MCR v7.14 installed I get this error:
... MWMCR::EvaluateFunction error ... Invalid MEX-file 'C:\Windows\TEMP\SYSTEM\mcrCache7.14\kompre1\kompressor\new15bandfilt441.mexw32': The specified module could not be found. . Error in => ExampleRun.m at line 45.
... Matlab M-code Stack Trace ... at file C:\Windows\TEMP\SYSTEM\mcrCache7.14\kompre1\kompressor\HAsimple_GH3.m, name HAsimple_GH3, line 22. at file C:\Windows\TEMP\SYSTEM\mcrCache7.14\kompre1\kompressor\ExampleRun.m, name ExampleRun, line 45.
Any ideas?
//Kim

Answers (2)

Kaustubha Govind
Kaustubha Govind on 9 Mar 2011
The type of error usually occurs if your MEX-file needs other DLL files that have not been added to the path. new15bandfilt441.mexw32 does not sound like a MathWorks function - is it something you wrote? If yes, please follow instructions in Technical Solution #1-X8A09.
Kim
Kim on 10 Mar 2011
I did, and i managed to find a solution, thank you :)

3 Comments

Can you please share your solution!? I am having also problem with deployment; .m function works properly but when on IIS, it crashes with this error message:
'' MWMCR::EvaluateFunction error ... Undefined function or method 'sym' for input arguments of type 'char'. Error in => calc_put.m at line 4.
... Matlab M-code Stack Trace ... at file C:\Users\***\AppData\Local\Temp\***\mcrCache7.15\Untitl0\Untitled3\calc_put.m, name calc_put, line 4. ''
You cannot compile anything that uses the Symbolic Toolbox.
Ok, thanks for your reply.

Sign in to comment.

Categories

Find more on MATLAB Compiler SDK in Help Center and File Exchange

Asked:

Kim
on 9 Mar 2011

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!