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
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com