Mex -setup (compiler problem)

  • Follow


>> 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????
0
Reply samer 11/22/2010 6:50:04 AM

"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/
0
Reply Aurelien 11/22/2010 10:38:04 AM


1 Replies
288 Views

(page loaded in 0.295 seconds)

Similiar Articles:













7/23/2012 3:42:02 PM


Reply: