The NAGWare Gateway Generator (NGG) produces an interface that seamlessly integrates Fortran subprograms with MATLAB. It analyses the source code of a Fortran routine and automatically generates a MATLAB gateway. This allows the user to access the Fortran subprogram as if it were any other MATLAB command. Both forward and reverse gateways can be generated. Reverse gateways allow the Fortran program to access MATLAB commands and scripts. The NGG has been jointly developed by the National Physical Laboratory and NAG.