Why has Matlab stopped recognizing the installed Compiler?
2 views (last 30 days)
Show older comments
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 Comment
Answers (0)
See Also
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!