External Interfaces |
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.
Note You can find the most recent versions of the example programs from this chapter at http://www.mathworks.com/access/pub/docexamples/apiguide/R12.zip |
The %val Construct | A First Example -- Passing a Scalar |
© 1994-2005 The MathWorks, Inc.