Borrar filtros
Borrar filtros

mexopt.sh not functional in R2016?

3 visualizaciones (últimos 30 días)
gujax
gujax el 15 de Sept. de 2016
Respondida: gujax el 24 de Sept. de 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

Respuesta aceptada

gujax
gujax el 24 de Sept. de 2016
Instead edit the xml files e.g., mex_C++_maci64.xml if using C++

Más respuestas (0)

Categorías

Más información sobre Write C Functions Callable from MATLAB (MEX Files) en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by