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!

Answers (1)

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.

Categories

Products

Asked:

on 22 Nov 2012

Community Treasure Hunt

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

Start Hunting!