External Interfaces Previous page   Next Page

Custom Building MEX-Files

This section discusses in detail the process that the MEX-file build script uses. It covers the following topics:

Who Should Read this Chapter

In general, the defaults that come with MATLAB should be sufficient for building most MEX-files. There are reasons that you might need more detailed information, such as:

The script, in general, uses two stages (or three, for Microsoft Windows) to build MEX-files. These are the compile stage and the link stage. In between these two stages, Windows compilers must perform some additional steps to prepare for linking (the prelink stage).


Previous page  Specifying an Options File MEX Script Switches Next page

© 1994-2005 The MathWorks, Inc.