mex -setup Fortran
Show older comments
I am using Matlab on Mac and trying to compile some FORTRAN functions. I have installed gcc via brew install, and I have also found the gfortran file on /usr/local/bin/gfortran, but I when I run mex -setup FORTRAN, I always get the following error:
Error using mex
No supported compiler was found. For options, visit https://www.mathworks.com/support/compilers.
How shall I properly setup FORTRAN for mex on a Mac?
Accepted Answer
More Answers (0)
Categories
Find more on Fortran with MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!