mexopt.sh not functional in R2016?

2 vues (au cours des 30 derniers jours)
gujax
gujax le 15 Sep 2016
Réponse apportée : gujax le 24 Sep 2016
Hi,
I copied mexopt.sh onto my home folder on mac OS X running R2016 Matlab. I edited it to enable CXX flag 'xcrun /usr/local/bin/gcc-4.8'. However, none of the changes in mexopt.sh seems to affect mex operations. It always defaults to clang.
How should I enable compilation using gnuCC?
Thanks
gujax

Réponse acceptée

gujax
gujax le 24 Sep 2016
Instead edit the xml files e.g., mex_C++_maci64.xml if using C++

Plus de réponses (0)

Catégories

En savoir plus sur Call C++ from MATLAB dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by