Matlab 2016b on Mac with Xcode 9 error

조회 수: 1 (최근 30일)
Alex83
Alex83 2017년 10월 15일
댓글: Cameron 2018년 2월 8일
Hello everybody! my Xcode had an update to version 9.0, since then compiling does not work anymore. Everytime I try to build an S-Function in Simulink it compiles the *.c files, but then announces: "No supported compiler or SDK was found. For options, visit http://www.mathworks.com/support/compilers/R2016b/maci64.html."
When I try to setup the compiler, for example typing in "mex -setup" in the prompt, Matlab answers after a wile:
*>> mex -setup find: 2671: No such file or directory
find: 2674: No such file or directory
find: 2677: No such file or directory
find: 2700: No such file or directory
find: 2703: No such file or directory
find: 2706: No such file or directory
Error using mex
No supported compiler or SDK was found. For options, visit http://www.mathworks.com/support/compilers/R2016b/maci64.html.*
What should I do to fix this? Thank you for your help in advance, ALEX :)

답변 (1개)

David Ding
David Ding 2017년 10월 17일
Hi Alex,
I understand that since upgrading to Xcode 9.0, using MATLAB R2016b you are no longer able to detect a support compiler nor install one. The reason is because for MATLAB R2016b, Xcode 9.0 is not one of the supported compilers, as documented below:
(page 6 of 8)
Now, the quickest fix is to perform a free upgrade to R2017b, which supports Xcode 9.0, as documented below:
(page 6 of 8).
Cheers,
David
  댓글 수: 1
Cameron
Cameron 2018년 2월 8일
Unfortunately, I am using CVX for convex modeling, which is not compatible on 2017a or b. I need to run my program in 2016B. Can I also have 2017b installed. Can I build the mex in 2017B and use it in 2016?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by