Why has Matlab stopped recognizing the installed Compiler?
11 次查看(过去 30 天)
显示 更早的评论
Everything was working and I was able to generate C code from a Simulink model just fine, but today, I get the following error:
An installed compiler was not detected. Certain simulation modes, as well as host-based coder builds require that a compiler be installed. Please install one of the supported compilers for this release as listed at:
http://www.mathworks.com/support/compilers/R2011a/win64.html
MATLAB must be restarted after the compiler is installed.
I am running 64 bit Windows 7 OS.
I am running Matlab R2011a (64 bit).
I have installed Visual C++ 2010 express.
I have installed Windows SDK 7.1
Inside Matlab, I have run 'mex -setup,' selected the Microsoft Visual C++ Compiler that it finds, and entered 'y' to save the information.
I have tried every possible combination of installing, uninstalling, re-installing Matlab, Visual C++ 2010 express, and the Windows SDK 7.1.
Why would mex -setup work for choosing the compiler but then fail to recognize that it has in fact been set up (especially given that it worked previously)?
1 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!