Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Mex -setup (compiler problem)

Subject: Mex -setup (compiler problem)

From: samer

Date: 22 Nov, 2010 06:50:04

Message: 1 of 2

>> mex
  Could not find the compiler "cl" on the DOS path.
  Use mex -setup to configure your environment properly.
 
 
  D:\MATLAB7\BIN\WIN32\MEX.PL: Error: Unable to locate compiler.
 
??? Error using ==> mex
Unable to complete successfully

the previous lines are shown when i tried to change the compiler to c++
what can i do????

Subject: Mex -setup (compiler problem)

From: Aurelien Queffurust

Date: 22 Nov, 2010 10:38:04

Message: 2 of 2

"samer " <sweemer-1989@hotmail.com> wrote in message <icd3qs$1lf$1@fred.mathworks.com>...
> >> mex
> Could not find the compiler "cl" on the DOS path.
> Use mex -setup to configure your environment properly.
>
>
> D:\MATLAB7\BIN\WIN32\MEX.PL: Error: Unable to locate compiler.
>
> ??? Error using ==> mex
> Unable to complete successfully
>
> the previous lines are shown when i tried to change the compiler to c++
> what can i do????

You can find 2 explanations in the support website:

First solution:
http://www.mathworks.com/support/solutions/en/data/1-809AQV/?solution=1-809AQV

Second solution:
http://www.mathworks.com/support/solutions/en/data/1-1I5TNS/?solution=1-1I5TNS

Aurélien,

http://blog.developpez.com/matlab4geek/

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us