After update Mac OS to high sierra, Mex function doesn't work...

1 view (last 30 days)
I have used new Macbook Pro (late 2016) with Sierra OS. Mex function was good. but when os was updated to High Sierra, it doesn't work
_"Error using mex No supported compiler or SDK was found. For options, visit http://www.mathworks.com/support/compilers/R2016a/maci64.html."_
help me...

Accepted Answer

Si-Baek Seong
Si-Baek Seong on 19 Dec 2017
Edited: Walter Roberson on 19 Dec 2017
Open "clang_maci64.xml" and "clang++_maci64.xml"
add mac version
<dirExists name="$$/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk" />
<dirExists name="$$/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk" />
<dirExists name="$$/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk" />
<dirExists name="$$/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk" />
<cmdReturns name="find $$ -name MacOSX10.9.sdk" />
<cmdReturns name="find $$ -name MacOSX10.10.sdk" />
<cmdReturns name="find $$ -name MacOSX10.11.sdk" />
<cmdReturns name="find $$ -name MacOSX10.13.sdk" />

More Answers (0)

Community Treasure Hunt

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

Start Hunting!