Elnaz
Elnaz

Reputation: 233

MATLAB R2013b does not support Visual Studio 2013?

I have recently installed VS 2013. I have a .cpp project which I want to compile into mex with MATLAB 2013b. As soon as I enter:

mex -setup    

in MATLAB and then I select "y" for "Would you like mex to locate installed compilers?", I receive the message that: "No supported SDK or compiler was found on this computer." How can I get around this problem?

Upvotes: 2

Views: 845

Answers (1)

rayryeng
rayryeng

Reputation: 104555

Visual Studio 2013 is not supported by MATLAB R2013b. See this link for more details: http://www.mathworks.com/support/compilers/R2013b/. The latest compiler and environment that R2013b can support for Windows is Visual Studio 2012. Your options are to either downgrade your version of Visual Studio to one that is compatible on that list I referred you to, or upgrade your version of MATLAB to at least R2014a or higher.

Upvotes: 4

Related Questions