MATLAB Answers

How do I connect my Matlab R2015a with my visual studio 2015 RC c/c++ compiler?

2 views (last 30 days)
Fabio Meyer
Fabio Meyer on 20 May 2015
Commented: Khade Grant on 7 Mar 2017
I use Matlab R2015a and when trying to compile .c files using mex, I get the following error message:
Error using mex No supported compiler or SDK was found
I have Visual Studio 2015 RC installed and it (naturally) includes a fully functioning c/c++ compiler. I don't want to install an older version of Visual Studio. What can I do?

Answers (3)

Kaba
Kaba on 4 Jun 2015
You can add support for VS2015 RC in Matlab 2015a/2014b like this. I'm not guaranteeing it works for everyone though:)


Caroline Bell
Caroline Bell on 16 Feb 2016
Hi. I'm trying to get visual studio 2015 to send real-time data to matlab (R2013a Student). I am following a youtube video that tells you how to do this with C++ 210 Express. I am stuck at the part where you change the Configuration Properties-> Linker-> Input-> Additional Dependencies. My C++ 2015 version has the following kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib but the 2010 video has the following four: libmat.lib, libmx.lib, libmex.lib, and libeng.lib. What should I write?

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by