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

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?

Respuestas (3)

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

2 comentarios

Nice... Thank You.
can you tell me the detailed steps for downloading minGW-complier for mex files in matlab 2015b , please

Iniciar sesión para comentar.

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?

Categorías

Más información sobre MATLAB Compiler en Centro de ayuda y File Exchange.

Productos

Etiquetas

Preguntada:

el 20 de Mayo de 2015

Comentada:

el 7 de Mzo. de 2017

Community Treasure Hunt

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

Start Hunting!

Translated by