필터 지우기
필터 지우기

mexopt.sh not functional in R2016?

조회 수: 1 (최근 30일)
gujax
gujax 2016년 9월 15일
답변: gujax 2016년 9월 24일
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

채택된 답변

gujax
gujax 2016년 9월 24일
Instead edit the xml files e.g., mex_C++_maci64.xml if using C++

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Write C Functions Callable from MATLAB (MEX Files)에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by