External Interfaces/API |
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 1-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.h
mat.h
mat
routines.
matrix.h
mxArray
structure and function prototypes for matrix access
routines.
mex.h
mex
routines.
_*.def
*.def
mexversion.rc
<matlab>\extern\src
The <matlab>\extern\src
directory contains files that are used for debugging MEX-files.
Additional Information | Examples |