mex setup gfortran mac osX

1 次查看(过去 30 天)
surya
surya 2016-6-2
Gentlemen, I'm trying to run "mex -setup -v FORTRAN" and I get the following response. I have MATLAB 2015a and gfortran 6.1. Any help is appreciated.
... Looking for compiler 'gfortran' ...
... Looking for environment variable 'DEVELOPER_DIR' ...No.
... Executing command 'which gfortran' ...Yes ('/usr/local/gfortran/bin/gfortran').
... Looking for folder '/usr/local/gfortran/bin' ...Yes.
... Executing command 'which gfortran' ...Yes ('/usr/local/gfortran/bin/gfortran').
... Executing command '/usr/local/gfortran/bin/gfortran -print-file-name=libgfortran.dylib' ...Yes ('/usr/local/gfortran/lib/libgfortran.dylib').
... Looking for folder '/usr/local/gfortran/lib' ...Yes.
... Executing command 'which gfortran' ...Yes ('/usr/local/gfortran/bin/gfortran').
... Executing command '/usr/local/gfortran/bin/gfortran -print-file-name=libgfortranbegin.a' ...Yes ('libgfortranbegin.a').
... Looking for folder 'libgfortranbegin.a' ...No.
Did not find installed compiler 'gfortran'.
... Looking for compiler 'Intel Fortran' ...
... Looking for environment variable 'IFORT_COMPILER14' ...No.
... Looking for environment variable 'IFORT_COMPILER13' ...No.
... Executing command 'which ifort' ...No.
Did not find installed compiler 'Intel Fortran'.

回答(0 个)

类别

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