User`s guide
System Configuration for MEX-Files
2-3
System Configuration for MEX-Files
This section outlines the steps necessary to configure your system to create
MEX-files.
The sequence of steps toinstall 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 don’t already have one installed.
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.
This figure shows the Compiler i nstallation 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 t hat MATLAB is properly installed on your
system.