Using mex files with Fortran 90
Show older comments
I can't seem to find specific information about my platforms. I am trying to read .f90 files via mex files. I am running 2011a on a Macintosh and 2013a on Linux. In the mexopts.sh file, what changes should I make to allow .f90 files? Thanks for any help on this confusing issue.
Answers (1)
James Tursa
on 12 Aug 2013
0 votes
Not sure what the options files look like on a Mac, but if you see a /fixed option on the COMPFLAGS line, get rid of it. That is the only thing I had to do to get .f90 files to compile on Windows.
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!