Thread Subject: Link error from Visual Studio 2005

Subject: Link error from Visual Studio 2005

From: Water Lin

Date: 4 Nov, 2009 04:54:38

Message: 1 of 2


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

Subject: Link error from Visual Studio 2005

From: Water Lin

Date: 4 Nov, 2009 07:36:21

Message: 2 of 2

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

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread

Contact us at files@mathworks.com