How to Compile FAST_v7.02.00d-bjj to get a FAST.exe file?

The error message says it can’t find IFPORT, which is an Intel-internal module. As the message indicates, you probably have a problem in your INCLUDE path in the FortranOptionsFile batch file. Please see this post for detail instructions on setting the correct PATH, INCLUDE, and LIB values for compiling FAST 7 in MATLAB: Beginner to Simulink and FAST V7 - #19 by Bonnie.Jonkman