Unable to find an installed compiler

i am working on Matlab R2011B version 7.13.0.291. Whenever i run a simulink model i face an error as stated below..
"Error using locGetInstalledAndSupportedComps (line 280) Unable to find an installed compiler." kindly please help me with this..

 Accepted Answer

Azzi Abdelmalek
Azzi Abdelmalek on 23 Mar 2013
Edited: Azzi Abdelmalek on 23 Mar 2013
What do you have when you type in windows command
mex -setup
What is your OS? 32 bit or 64 bit

7 Comments

Error using mex (line 206) Unable to complete successfully.
Have you a Matlab Compiler?
Type in windows command
ver
and look for Matlab Compiler
ummmm...yes i have.. MATLAB Compiler Version 4.16(R2011b)
Try to lunch Matlab as administrator, then type again
mex -setup
Hi, I'm having the same problem. My system is Win-64 and I'm using Matlab R2012a and the compiler version is the Matlab Compiler 4.17. However, when I try to run mex -setup, it says: "Error using mex (line 206)" "Unable to complete successfully"
And I tried to do as administrator and selecting the compiler by myself. But it says that "Could not find the 64-bit compiler..." Could it be because I should install a 64 bit version of VC++?
Thank you anyway.
you need the 64 bit version if you are wanting to compile from the 64 bit version of MATLAB.
you did not indicate which VC version you are trying to install? r2012a would not be able to use VC2012.

Sign in to comment.

More Answers (0)

Categories

Products

Community Treasure Hunt

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

Start Hunting!