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

8 次查看(过去 30 天)
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?

回答(3 个)

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

Mohamed Lamine ARABI
it worked for me, thank you

Caroline Bell
Caroline Bell 2016-2-16
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?

类别

Help CenterFile Exchange 中查找有关 MATLAB Compiler 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by