User`s manual
Additional Information
1-43
<matlab>/bin
The <matlab>/bin directory contains two files that are relevant for the 
MATLAB API.
mex UNIX shell script that creates MEX-files from C or 
Fortran MEX-file source code. See “Introducing 
MEX-Files” on page 1-3 for more details on 
mex.
matlab UNIX shell script that initializes your environment 
and then invokes the MATLAB interpreter.
This directory also contains the preconfigured options files that the 
mex script 
uses with particular compilers. This table lists the options files.
<matlab>/extern/lib/$ARCH
The <matlab>/extern/lib/$ARCH directory contains libraries, where $ARCH 
specifies a particular UNIX platform. On some UNIX platforms, this directory 
contains two versions of this library. Library filenames ending with 
.a are 
static libraries and filenames ending with 
.so or .sl are shared libraries.
Table 1-4: Preconfigured Options Files
Options File Description
cxxopts.sh
Used with the mex script and the system C++ compiler 
to compile MEX-files
engopts.sh Used with the mex script and the system C or Fortran 
compiler to compile engine applications
gccopts.sh Used with the mex script and the GNU C (gcc) compiler 
to compile MEX-files
matopts.sh Used with the mex script and the system C or Fortran 
compiler to compile MAT-file applications
mexopts.sh Used with the mex script and the system ANSI C or 
Fortran compiler to compile MEX-files










