External Interfaces Previous page   Next Page

Creating C Language MEX-Files


This chapter describes how to write MEX-files in the C programming language. It discusses the MEX-file itself, how these C 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.
C MEX-Files
MEX-file components and required arguments
Examples of C MEX-Files
Sample MEX-files that show how to handle all data types
Advanced Topics
Help files, linking multiple files, workspace, managing memory, using LAPACK and BLAS functions
Debugging C Language MEX-Files
Debugging MEX-file source code from within MATLAB


Previous page  Technical Support C MEX-Files Next page

© 1994-2005 The MathWorks, Inc.