Matlab 2018b mex can't find compiler, with Xcode 11 beta installed on Mac Mojave 10.14.5
1 view (last 30 days)
Show older comments
I have Matlab 2018b and Xcode 11 beta installed on Mac Mojave 10.14.5
I run the following code in Matlab command line:
mex -v -setup C++
I got the following results:
![Screen Shot 2019-07-03 at 6.21.50 PM.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/227378/Screen%20Shot%202019-07-03%20at%206.21.50%20PM.png)
I have run the following code in my Terminal:
sudo xcode-select -s /Applications/Xcode-Beta.app/Contents/Developer
sudo xcodebuild -license accept
It didn't help...
2 Comments
Geoff Hayes
on 4 Jul 2019
Wanyu - what happens when you launch Xcode as an app? Are you prompted to accept its license?
Answers (1)
Maadhav Akula
on 25 Jul 2019
Xcode 11 beta is not supported in R2018b version of Matlab. For a list of supported compilers in R2018b,please refer to the link below:
0 Comments
See Also
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!