how do I make intel compiler default for mex

조회 수: 8 (최근 30일)
jcmeza
jcmeza 2016년 5월 30일
답변: Jeevan Joishi 2016년 6월 10일
I've just installed the Intel Fortran compiler, but I can't seem to get mex to recognize it. I've tried all of the usual ways I've used in the past including changing the defaults in the mexopts.sh file. For whatever reason, Matlab insists on looking for the gfortran compiler. I can't seem to find anything online describing how to reset the default. And yes, I also ran "mex -setup".
Some details: running Matlab 2016a, Macbook Air running El Capitan, 10.11.5, Intel ifort 16.0.3

답변 (1개)

Jeevan Joishi
Jeevan Joishi 2016년 6월 10일
This link should help you.

카테고리

Help CenterFile Exchange에서 Fortran with MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by