Link error from Visual Studio 2005

  • Follow


I am using Matlab 7 and Visual Studio 2005. I want to write a program in
Visual C++ 2005 and use functions in Matlab 7.

Here is my reference:
-----------
http://wibirama.com/dip/wp-content/uploads/2008/11/matlab-and-ms-studio.pdf

I did exactly the same as this document described. I also use the same
test code in this document. But after I compiled the code successfully
and try to run the exe file, the exe shows an error like this:
-----------
This application has failed to start because libmx.dll was not
found. Re-installing the application may fix this problem.
-----------

I don't know why and I also can't google the match reason. Is it
possible to use Matlab 7 with Visual C++ 2005? What's wrong?


-- 
Water Lin's notes and pencils: http://en.waterlin.org
Email: WaterLin@ymail.com
0
Reply WaterLin (12) 11/4/2009 4:54:38 AM

Water Lin <WaterLin@ymail.invalid> writes:

> I am using Matlab 7 and Visual Studio 2005. I want to write a program in
> Visual C++ 2005 and use functions in Matlab 7.
>
> Here is my reference:
> -----------
> http://wibirama.com/dip/wp-content/uploads/2008/11/matlab-and-ms-studio.pdf
>
> I did exactly the same as this document described. I also use the same
> test code in this document. But after I compiled the code successfully
> and try to run the exe file, the exe shows an error like this:
> -----------
> This application has failed to start because libmx.dll was not
> found. Re-installing the application may fix this problem.
> -----------
>
> I don't know why and I also can't google the match reason. Is it
> possible to use Matlab 7 with Visual C++ 2005? What's wrong?

I don't know why. But after I reboot my computer and run following
command in Matlab, it works. The command is:
-----------
mbuild -setup

Anyway, thanks.

Water Lin

-- 
Water Lin's notes and pencils: http://en.waterlin.org
Email: WaterLin@ymail.com
0
Reply WaterLin (12) 11/4/2009 7:36:21 AM


1 Replies
235 Views

(page loaded in 0.05 seconds)

Similiar Articles:













7/15/2012 2:08:53 PM


Reply: