1. I installed matlab2012b in windows7.
2. Compiler : Microsoft visual C++ 2008 Epress edition
3. Java version 1.7.0_02 Java<TM> SE Runtime Environment<build 1.7.0-02-b13>
Java HotSpot<TM> 64-bit Server VM<build 22.0-b13,mixed mode>
4. Microsoft .NET Framework 4 Extended -version 4.0.30319
Microsoft .NET Framework 4 Client Profile -version 4.0.30319
I have all the above software in my PC.
But when I am trying to run the model I was getting the error.
Code Error: Unable to locate a C-compiler required by Stateflow and MATLAB Function blocks.
Model Error: Error using construct_error (line 108) Library failed to build. Cannot continue build process. Use 'mex -setup' to select a supported C-compiler.
I try to run the mex -setup the following information is displayed. 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/R2012b/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/R2012b/win64.html
Error using mex (line 206) Unable to complete successfully.
I couldn't see any compiler's information.
Please tell me how to resolve this issue.
Best Answer