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

7 Ansichten (letzte 30 Tage)
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?

Antworten (3)

Kaba
Kaba am 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:)
  2 Kommentare
ahmed ali
ahmed ali am 29 Sep. 2016
can you tell me the detailed steps for downloading minGW-complier for mex files in matlab 2015b , please

Melden Sie sich an, um zu kommentieren.


Mohamed Lamine ARABI
Mohamed Lamine ARABI am 11 Feb. 2016
it worked for me, thank you

Caroline Bell
Caroline Bell am 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?

Kategorien

Mehr zu MATLAB Compiler finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by