External Interfaces/API    

Creating Fortran MEX-Files


This chapter describes how to write MEX-files in the Fortran programming language. It discusses the MEX-file itself, how these Fortran language files interact with MATLAB, how to pass and manipulate arguments of different data types, how to debug your MEX-file programs, and several other, more advanced topics.
Fortran MEX-Files
MEX-file components and required arguments
Examples of Fortran MEX-Files
Sample MEX-files that show how to handle all data types
Advanced Topics
Help files, linking multiple files, workspace, managing memory
Debugging Fortran Language MEX-Files
Debugging MEX-file srouce code from within MATLAB


  Debugging on Windows Fortran MEX-Files