External Interfaces/API |
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).
Specifying an Options File | MEX Script Switches |