Question of building S-function for FAST 7

Xing,

The error says that Matlab can’t find the Fortran compiler, which indicates the PATH variable is incorrect. Either it isn’t set properly in the bat file, or you aren’t calling the bat file where you set it.

Please see some more detailed instructions for setting the correct paths here: Beginner to Simulink and FAST V7 - #19 by Bonnie.Jonkman