Prev: Dividing an image into 8X8 block and find histogram of each block
Next: Help me for a gui examples, Because we have not any example
From: Shiva on 28 May 2010 01:32 I had created a package of .Net dlls and they are working as expected in the developement environment. But when i execute the same application in any other machine i am getting the following error. I got MCR installed but still getting the error. MWMCR::EvaluateFunction error. Invalid MEX-file 'C:\Users\CLE\AppData\Local\Temp\CLE\mcrCache7.11\DotNet0\toolbox\images\images\private\imabsdiffmex.mexw32': The specified module could not be found. .. Error in =>BackgroundProcess.m at 5. .... Matlab M-code Stack Trace ... at file C:\Users\CLE\AppData\Local\Temp\CLE\mcrCache7.11\DotNet0\toolbox\images\images\imabsdiff.m,name imabsdiff,line at 52. at file C:\Users\CLE\AppData\Local\Temp\CLE\mcrCache7.11\DotNet0\DotNetImageP\BackgroundProcess.m,name BackgroundProcess,line at 5. Please help me. Regards Shiva
From: ImageAnalyst on 28 May 2010 06:25 Shiva: Ah yes. The old subfolder problem. I hate that. See that crazy path that's listed? When you run your app, it actually creates that weird folder and runs your stuff out of there, and when you refer to a subfolder it expects it to be there, not as a subfolder of where you installed your app. Very annoying I know. One work around is to have it build your temp folder in your app's folder (involves setting your MCR_CACHE_ROOT environment variable to dot before you compile). Another workaround is to just install your subfolders in that crazy folder. The Mathworks can talk you through it (complain to them while they're doing it though!). -ImageAnalyst
From: Shiva on 28 May 2010 06:55
Thank you for the response. I managed to get rid of the temporary folders. But these folders are now created in my application folder. For instance my application is located at "D:\vdvd\Code May17\vcxSample\bin\Debug" now intermedaite folders are created with in this folder and i am still getting the problem. Here it goes. .... MWMCR::EvaluateFunction error ... Invalid MEX-file 'D:\vdvd\Code May17\vcxSample\bin\Debug\DotNetImageProcessor_mcr\toolbox\images\images\private\immultmex.mexw32': The specified module could not be found. .. Error in =>BackgroundProcess.m at 9. .... Matlab M-code Stack Trace ... at file D:\vdvd\Code May17\vcxSample\bin\Debug\DotNetImageProcessor_mcr\toolbox\images\images\immultiply.m,name immultiply,line at 69. at file D:\vdvd\Code May17\vcxSample\bin\Debug\DotNetImageProcessor_mcr\DotNetImageP\BackgroundProcess.m,name BackgroundProcess,line at 9. It seems the right mex files are not getting picked or they might be corrupted. Please help me. |