Search code examples
visual-studio-2010matlabmcc

Is it possible to link the Matlab compiler to Visual C++ compiler?


I am using Matlab 2010 and VS2010. I have the Matlab Compiler Runtime installed in my system. Whenever if run command mcc -setup I get only one compiler lcc. This compiler gives a lot of errors when used to build a C++ shared library using deployment tool. It builds only C Shared libraries correctly.

Can I also connect VC++ compiler with MCC ????

How should I do that ??


Solution

  • There is an issue with Matlab 2010 and VS2010. It seems like Matlab was released before VS and therefore it does not have automatic way of configuring VS2010.

    I ran into this issue once and my best advice is to download VS2008 express edition...

    It's lame, but its the quickest way to get Matlab 2010 working with VS.

    Sorry.