User`s guide

2 Installation and Configuration
2-2
System Configuration for MEX-Files
This section outlines the steps necessary to configure your system to create
MEX-files.
The sequence of steps to install and configure the MATLAB Compiler so that it
can generate MEX-files is
1 Install the MATLAB Compiler.
2 Install an ANSI C or C++ compiler, if you dont already have one installed.
Note If you encounter problems relating to the installation or use of your
ANSI C or C++ compiler, consult the documentation or customer support
organization of your C or C++ compiler vendor.
3 Verify that mex can generate MEX-files.
4 Verify that the MATLAB Compiler can generate MEX-files from the
MATLAB command line and from the UNIX or DOS command line.
Figure 2-1, MATLAB Compiler Installation Sequence for Creating MEX-Files,
shows the Compiler installation sequence for creating MEX-files on both
platforms. The sections following the flowchart provide more specific details for
the individual platforms. Additional steps may be necessary if you plan to
create stand-alone applications or libraries, however, you still must perform
the steps given in this chapter first. Chapter 4, Stand-Alone Applications
provides the details about the additional installation and configuration steps
necessary for creating stand-alone applications and libraries.
Note This flowchart assumes that MATLAB is properly installed on your
system.