Creating C Language MEX-Files


This chapter describes how to write source MEX-files in the C programming language. It discusses the source file itself, how these C language files interact with MATLAB® software, how to pass and manipulate arguments of different data types, how to debug your binary MEX-file programs, and several other, more advanced topics.

C Source MEX-FilesSource MEX-file components and required arguments
Examples of C Source MEX-FilesSample source MEX-files that show how to handle all data types
Advanced TopicsHelp files, linking multiple files, workspace, managing memory, using LAPACK and BLAS functions
Debugging C Language MEX-FilesDebugging MEX-file source code from within MATLAB® software
  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS