| External Interfaces | ![]() |
Files and Directories - Windows Systems
This section describes the directory organization and purpose of the files associated with the MATLAB API on Microsoft Windows systems.
The following figure illustrates the directories in which the MATLAB API files are located. In the illustration, <matlab> symbolizes the top-level directory where MATLAB is installed on your system.
<matlab>\bin\win32
The <matlab>\bin\win32 directory contains the mex.bat batch file that builds C and Fortran files into MEX-files. Also, this directory contains mex.pl, which is a Perl script used by mex.bat.
<matlab>\bin\win32\mexopts
The <matlab>\bin\win32\mexopts directory contains the preconfigured options files that the mex script uses with particular compilers. See Table 3-2, Options Files for a complete list of the options files.
<matlab>\extern\include
The <matlab>\extern\include directory contains the header files for developing C and C++ applications that interface with MATLAB.
The relevant header files for the MATLAB API (MEX-files, engine, and MAT-files) are:
engine.hHeader file for MATLAB engine programs. Contains
function prototypes for engine routines.
mat.hHeader file for programs accessing MAT-files.
Contains function prototypes for mat routines.
matrix.hHeader file containing a definition of the mxArray
structure and function prototypes for matrix access
routines.
mex.hHeader file for building MEX-files. Contains function
prototypes for mex routines.
_*.defFiles used by Borland compiler.
*.defFiles used by MSVC and Microsoft Fortran compilers.
mexversion.rcResource file for inserting versioning information into
MEX-files.
<matlab>\extern\src
The <matlab>\extern\src directory contains files that are used for debugging MEX-files.
| Additional Information | Examples | ![]() |
© 1994-2005 The MathWorks, Inc.