MATLAB Compiler    

UNIX Workstation

This section examines the system requirements, installation procedures, and configuration procedures for the MATLAB Compiler on UNIX systems.

System Requirements

You cannot install the MATLAB Compiler unless MATLAB 6.5 (Release 13) is already installed on the system. The MATLAB Compiler imposes no operating system or memory requirements beyond those that are necessary to run MATLAB. The MATLAB Compiler consumes a small amount of disk space.

Table 2-1, Requirements for Creating UNIX Applications, shows the requirements for creating UNIX applications with the MATLAB Compiler.

Table 2-1: Requirements for Creating UNIX Applications
To create...
You need...
MEX-files
ANSI C compiler
MATLAB Compiler
Stand-alone C applications
ANSI C compiler
MATLAB Compiler
Stand-alone C++ applications
C++ compiler
MATLAB Compiler

Supported ANSI C and C++ UNIX Compilers

The MATLAB Compiler supports

Known Compiler Limitations.   There are several known restrictions regarding the use of supported compilers:

Compiler Options Files

The MathWorks provides options files for every supported C or C++ compiler. These files contain the necessary flags and settings for the compiler. This table shows the preconfigured options files that are included with MATLAB for UNIX.

Compiler
Options File
System native ANSI compiler
mexopts.sh
gcc (GNU C compiler)
gccopts.sh

Information on the options files is provided for those users who may need to modify them to suit their own needs. Many users never have to be concerned with the inner workings of the options files.

Locating Options Files

To locate your options file, the mex script searches the following:

mex uses the first occurrence of the options file it finds. If no options file is found, mex displays an error message.


  System Configuration for MEX-Files Installation