mac matlab 2016a mex setup 在 xcode 9.x 下出错。

https://ww2.mathworks.cn/matlabcentral/answers/243868-mex-can-t-find-compiler-after-xcode-7-update-r2015b?#comment_407066

把 /Applications/MATLAB_R2016a.app/bin/maci64/mexopts 下面的两个文件 “clang++_maci64.xml” “clang_maci64.xml” 里面的 MacOSX10.11.sdk 改成自己的版本。
自己的版本在: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs 下面。

猜你喜欢

转载自blog.csdn.net/CY_TEC/article/details/81163898