I have this problem: Applicatio​ns/MATLAB_​R2012a.app​/bin/mex: line 305: llvm-gcc-4.2

Somebody can help me. I have installed matlab2012a and xcode 4.5.2 (4G2008a) in a macbook with mountain lion OS X 10.8.2. When I run the simulink program appears this lines:
/Applications/MATLAB_R2012a.app/bin/mex: line 305: llvm-gcc-4.2: command not found /Applications/MATLAB_R2012a.app/bin/mex: line 1326: llvm-gcc-4.2: command not found
mex: compile of ' "Caso_Escalar_sfun.c"' failed.
gmake: * [Caso_Escalar_sfun.o] Error 1
Thank you!

답변 (1개)

Ken Atwell
Ken Atwell 2012년 11월 27일
First, make sure you have installed the latest version of the patch (from the error you're getting, you may already have it installed:
Second, make sure the command-line tools are installed as described in step 3 of the above solution.

카테고리

도움말 센터File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

제품

질문:

2012년 11월 22일

Community Treasure Hunt

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

Start Hunting!

Translated by