MATLAB 2015b on Mac with XCode 7

12 visualizzazioni (ultimi 30 giorni)
Bob Pepin
Bob Pepin il 30 Set 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

Risposte (0)

Categorie

Scopri di più su Introduction to Installation and Licensing in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by