matlab 2013a with xcode 7.1 and yosemite 10.10 not working !!

1 view (last 30 days)
Hi All
I have matlab 2013a with xcode 7.1 and yosemite 10.10.5. I'm trying to build a Matlab embedded function but it's not running.It gives me the error as showing down. I tried every thing in the internet without any success. Anyone can help please :(
Making simulation target "pwm1_sfun", ...
/Applications/MATLAB_R2013a.app/bin/mex -c -O -DMATLAB_MEX_FILE -I/Applications/MATLAB_R2013a.app/stateflow/c/mex/include -I/Applications/MATLAB_R2013a.app/stateflow/c/debugger/include pwm1_sfun.c
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcrun: error: unable to find utility "clang", not a developer tool or in PATH
mex: compile of ' "pwm1_sfun.c"' failed.
gmake: *** [pwm1_sfun.o] Error 1

Answers (1)

Walter Roberson
Walter Roberson on 24 Oct 2015
See http://uk.mathworks.com/matlabcentral/answers/243868-mex-can-t-find-compiler-after-xcode-7-update-r2015b except that you need to configure for sdk 10.11 rather than sdk 10.10
  2 Comments
Qatar university
Qatar university on 24 Oct 2015
but the running time for simple function it take relatively long time

Sign in to comment.

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!