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 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
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.