Why do I get errors with compiling even after I have installed the supported compilers Microsoft Visual Studio 2010 Express and Windows SDK 7.1?
I have a 64-bit MATLAB 7.13 (R2011b) and would like to use commands like MEX, MCC and MBUILD which require a supported compiler. I have the officially supported compilers for this release, Microsoft Visual Studio 2010 SP1 Express and Windows SDK 7.1. However, I cannot compile as I get various errors during either the
mex -setup
mbuild -setup
processes or when trying to compile the code. The MEX errors are:
ERROR: "… error using mex (line 206), unable to complete successfully…"
and the MBUILD errors are:
ERROR: Could not find the compiler "cl" on the DOS path.
Use mbuild -setup to configure your environment properly.
C:PROGRA~1MATLABR2011BBINMEX.PL: Error: Unable to locate compiler.
Error using mbuild (line 189)
Unable to complete successfully.
What is going on?I have a 64-bit MATLAB 7.13 (R2011b) and would like to use commands like MEX, MCC and MBUILD which require a supported compiler. I have the officially supported compilers for this release, Microsoft Visual Studio 2010 SP1 Express and Windows SDK 7.1. However, I cannot compile as I get various errors during either the
mex -setup
mbuild -setup
processes or when trying to compile the code. The MEX errors are:
ERROR: "… error using mex (line 206), unable to complete successfully…"
and the MBUILD errors are:
ERROR: Could not find the compiler "cl" on the DOS path.
Use mbuild -setup to configure your environment properly.
C:PROGRA~1MATLABR2011BBINMEX.PL: Error: Unable to locate compiler.
Error using mbuild (line 189)
Unable to complete successfully.
What is going on? I have a 64-bit MATLAB 7.13 (R2011b) and would like to use commands like MEX, MCC and MBUILD which require a supported compiler. I have the officially supported compilers for this release, Microsoft Visual Studio 2010 SP1 Express and Windows SDK 7.1. However, I cannot compile as I get various errors during either the
mex -setup
mbuild -setup
processes or when trying to compile the code. The MEX errors are:
ERROR: "… error using mex (line 206), unable to complete successfully…"
and the MBUILD errors are:
ERROR: Could not find the compiler "cl" on the DOS path.
Use mbuild -setup to configure your environment properly.
C:PROGRA~1MATLABR2011BBINMEX.PL: Error: Unable to locate compiler.
Error using mbuild (line 189)
Unable to complete successfully.
What is going on? visual, studio, 2010, sp1, express, professional, windows, sdk, 7.1, mex, mbuild, unable, to, complete, successfully, locate, compiler, cl MATLAB Answers — New Questions