Clear Filters
Clear Filters

Matlab 2018b mex can't find compiler, with Xcode 11 beta installed on Mac Mojave 10.14.5

3 views (last 30 days)
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
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
Geoff Hayes on 4 Jul 2019
Wanyu - what happens when you launch Xcode as an app? Are you prompted to accept its license?
Wanyu Lei
Wanyu Lei on 4 Jul 2019
Edited: Wanyu Lei on 4 Jul 2019
Hi Geoff, Yes. I have accepted its license after I launched Xcode. I still get the error...

Sign in to comment.

Answers (1)

Maadhav Akula
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:

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!