2016-06-18 20 views
0

Ich benutze Matlab 2009b 64bit und ich installierte Microsoft Visual Studio 2008 Express für Compiler (aber es installiert nur in 32-Bit in C: \ Programme (x86) \ Microsoft Visual Studio 9.0 \ Microsoft Visual C++ 2008 Express Edition mit SP1 - DEU). Dann mex ich eine Datei in Matlab, es hat Fehler:MATLAB Konnte den Compiler "cl" nicht im DOS-Pfad finden

Error: Could not find the compiler "cl" on the DOS path. 
     Use mex -setup to configure your environment properly. 

...MATLAB\BIN\MEX.PL: Error: Unable to locate compiler. 

Wer dieses Problem? Teilen Sie Ihr Experiment, um es zu lösen. Vielen Dank!

+0

Warum verwenden Sie so eine alte Version von Matlab? Was ist deine Windows-Version? – Woeitg

Antwort

0

Schließlich habe ich dieses Problem gelöst. Der Schlüssel ist Compiler 32bit (ex Microsoft Visual Studio 2008 Express) ist nicht kompatibel mit Matlab 64bit. Also entferne ich Matlab 64bit und installiere dann Matlab 32bit, um dieses Problem zu lösen. Diese Arbeit ist großartig.