Do you have Visual C++ 2010 Professional installed? Note that the Express version of Visual C++ is not supported -- if you have the Express version, install the SDK 7.1 for MATLAB's use as recommended at http://www.mathworks.com/support/compilers/R2012a/win64.html
set MicrosoftVisualStudio C++ compiler
20 次查看(过去 30 天)
显示 更早的评论
Hello everybody, I am new for the blog and Matlab/Simulink.
I have some problem with simulink because I am not able to set MVS 2010 C++ as Matlab compiler. I have already installed the program and the sdk, but using mex setup I still see this message.
>> mex -setup
Welcome to mex -setup. This utility will help you set up a default compiler. For a list of supported compilers, see http://www.mathworks.com/support/compilers/R2012a/win64.html
Please choose your compiler for building MEX-files:
Would you like mex to locate installed compilers [y]/n? y
No supported SDK or compiler was found on this computer. For a list of supported compilers, see http://www.mathworks.com/support/compilers/R2012a/win64.html
Error using mex (line 206) Unable to complete successfully.
Do I need to have Matlab, MSV 2010 and SDK in the same folder? Is someone able to help me?
ps. I use matlab 2012a
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 MATLAB Compiler SDK 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!