mex -setup with Matlab 2015b and Mac OS X v10.10.5 (Yosemite)
2 ビュー (過去 30 日間)
古いコメントを表示
Hello, I'm a newby to the Matlab coder but I'm trying to port some code into C and also make the corresponding .mex file. I'm having some trouble setting up the compiler. When I try to set it up I get the following:
mex -setup
Error using mex
No supported compiler or SDK was found. For options, visit
http://www.mathworks.com/support/compilers/R2015b/maci64.html.
I have Xcode 7.0 with command line tools. I know I have the gcc compiler because I get the following when I type in the terminal:
gcc --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 7.0.0 (clang-700.0.72)
Target: x86_64-apple-darwin14.5.0
Thread model: posix
Has anyone been able to get Matlab coder working with a similar configuration has me? Any suggestions?
1 件のコメント
Spyridon Chatzivasileiadis
2015 年 11 月 18 日
I also had a problem with mex and Xcode 7.1 on Mac OS 10.11. I fixed it following the instructions under this link: http://www.mathworks.com/matlabcentral/answers/246135-is-matlab-compatible-with-mac-os-x-10-11-el-capitan
回答 (2 件)
Sayed Hussein
2015 年 9 月 26 日
I face the same issue, it seems that support for XCode is only up to version 6.x and not 7.
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!