This book uses many examples to show how to write C and Fortran MEX-files. You can get the most recent versions of these examples from the ZIP file http://www.mathworks.com/access/pub/docexamples/apiguide/R12.zip.
Examples from the Text
refbook subdirectory in the
extern/examples directory contains the MEX-file examples (C and Fortran) that are used in this book, External Interfaces.
MEX Reference Examples
mex subdirectory of
/extern/examples directory contains MEX-file examples. It includes the examples described in the online External Interfaces/API reference pages for MEX interface functions (the functions beginning with the
mx subdirectory of
extern/examples contains examples for using the array access functions. Although you can use these functions in stand-alone programs, most of these are MEX-file examples. The exception is
mxSetAllocFcns.c, since this function is available only to stand-alone programs.
Engine and MAT Examples
eng_mat subdirectory in the
extern/examples directory contains the MEX-file examples (C and Fortran) for using the MATLAB engine facility, as well as examples for reading and writing MATLAB data files (MAT-files). These examples are all stand-alone programs.
|Files and Directories - Windows Systems||Technical Support|
© 1994-2005 The MathWorks, Inc.