User`s manual

3 Creating Fortran MEX-Files
3-40
4 From the Build menu, select Debug, and click Go.
5 You will now be able to run your MEX-file in MATLAB and use the Microsoft
debugging environment. For more information on how to debug in the
Microsoft environment, see the Microsoft Development Studio
documentation.