I think this question has been there for a while… I’m trying to compile the mex function on a mac (os X) using MATLAB 2015a. I’ve downloaded the build_structure as described here: kom.aau.dk/~anb/fast/fastinstall.html and modified the MAKE file to locate MATLAB as is on mac. I have also installed gfortran.
Now, as I use the "make s function’ from MATLAB instead of following the procedure described, I run into a problem with the nwtc/source/SysMatlab.f90:64:35:
Now i notice that IFPORT is a function of intel fortran compiler, and couldn’t find any quick alternatives on the internet for using it with gfortran. I’m level ‘0’ in fortran but decent at MATLAB/mex/embedded code gen. So I was wondering if you have come across this problem and have any solution for it.