MATLAB 2015b on Mac with XCode 7

2 views (last 30 days)
Bob Pepin
Bob Pepin on 30 Sep 2015
Commented: Walter Roberson on 1 Oct 2015
Hi,
in order to get Matlab to work with the C compilers from XCode 7, I had to modify the files 'clang_maci64.xml' and 'clang++_maci64.xml' from /Applications/MATLAB_R2015b.app/bin/maci64/mexopts and update the compiler settings.
I attached the modified files, to use Matlab with XCode 7, download them (say to your Downloads folder) and execute the following commands in a Terminal to copy the updated files to your user preferences folder:
/Applications/MATLAB_R2015b.app/bin/maci64/mex -f ~/Downloads/clangpp_maci64.xml.txt -v -setup C++ /Applications/MATLAB_R2015b.app/bin/maci64/mex -f ~/Downloads/clang_maci64.xml.txt -v -setup
Best, Bob

Answers (0)

Categories

Find more on Downloads in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!