External Interfaces/API |
You can use the -f
option to specify an options file on either UNIX or Windows. To use the -f
option, at the MATLAB prompt type
and specify the name of the options file along with its pathname. The Options Files table, below, contains a list of the options files included with MATLAB.
There are several situations when it may be necessary to specify an options file every time you use the mex
script. These include:
-setup
option), or you want to compile MAT or engine stand-alone programs.
Preconfigured Options Files
MATLAB includes some preconfigured options files that you can use with particular compilers. The Options Files table lists the compilers whose options files are included with this release of MATLAB.
An up-to-date list of options files is available from our FTP server, ftp://ftp.mathworks.com/pub/tech-support/docexamples/apiguide/R12/bin. For a list of all the compilers supported by MATLAB, access the MathWorks Technical Support Web site at http://www.mathworks.com/support.
Note The next section, Custom Building MEX-Files, contains specific information on how to modify options files for particular systems. |
Testing Your Configuration on Windows | Custom Building MEX-Files |