Missing libmx.dll file???

  • Follow


Hi I got some code using fortran to call matlab function.

The codes compile and run very well under intel fortran 9 with microsoft visual studio 2005.

However, I changed to the matlab to 2010 version and using intel fortran 11. The codes can be compile into a exe file. But it can not run. It gives the following message:

"This program can't start because libmx.dll is missing from your computer. Try reinstalling the program to fix this problem."

I tried to find the file libmx.dll. It's right there: C:\Program Files\MATLAB\R2010a\bin\win32.

So I don't really miss this file. Can you give me hint about why it keep showing me this message while I don't really miss this file?

Thank  you so much!!

I compiled the codes using: 
mex('-f', [matlabroot '\bin\win32\mexopts\intelf11msvs2008engmatopts.bat'],'Main.for', 'sol_richards.for','sol_doc.for','matengine.for','flxCalculator.for','Fun.for');

Best
Yi
0
Reply Yi 9/15/2010 1:34:59 AM

make sure the matlab directory which contains this dll file is in your system "Path" variable

"Yi " <njumeiyi@gmail.com> wrote in message <i6p7s3$8i$1@fred.mathworks.com>...
> Hi I got some code using fortran to call matlab function.
> 
> The codes compile and run very well under intel fortran 9 with microsoft visual studio 2005.
> 
> However, I changed to the matlab to 2010 version and using intel fortran 11. The codes can be compile into a exe file. But it can not run. It gives the following message:
> 
> "This program can't start because libmx.dll is missing from your computer. Try reinstalling the program to fix this problem."
> 
> I tried to find the file libmx.dll. It's right there: C:\Program Files\MATLAB\R2010a\bin\win32.
> 
> So I don't really miss this file. Can you give me hint about why it keep showing me this message while I don't really miss this file?
> 
> Thank  you so much!!
> 
> I compiled the codes using: 
> mex('-f', [matlabroot '\bin\win32\mexopts\intelf11msvs2008engmatopts.bat'],'Main.for', 'sol_richards.for','sol_doc.for','matengine.for','flxCalculator.for','Fun.for');
> 
> Best
> Yi
0
Reply shakeham (7) 8/12/2012 4:19:07 PM


1 Replies
310 Views

(page loaded in 0.044 seconds)

Similiar Articles:







7/27/2012 12:42:51 PM


Reply: