External Interfaces/API    

Examples of Fortran MEX-Files

The following sections include information and examples describing how to pass and manipulate the different data types when working with MEX-files. These topics include:

The MATLAB API provides a set of routines for Fortran that handle double-precision data and strings in MATLAB. For each data type, there is a specific set of functions that you can use for data manipulation.


  The %val Construct A First Example -- Passing a Scalar