External Interfaces Previous page   Next Page

Step 2 -- Check Required Libraries and Files

MATLAB requires the following library and data files for building any engine application:

Third-Party Libraries

Verify that the appropriate libraries are installed. The library files are named as follows and should reside in the directory shown in the table below. Replace the term libfile in the table with each of the filenames shown here:

(In this section, the term $MATLAB represents the MATLAB root directory (i.e., the string returned when you enter the matlabroot function)).

Operating System
Library Path and Filename
HP-UX
$MATLAB/bin/hpux/libfile.sl
Linux
$MATLAB/bin/glnx86/libfile.s0
64-bit Linux
$MATLAB/bin/glnxa64/libfile.so
Solaris
$MATLAB/bin/sol2/libfile.so
MacIntosh
$MATLAB/bin/mac/libfile.dylib
Windows
$MATLAB\bin\win32\libfile.dll

Library Files Required By libeng

In addition to these libraries, you must also have all third-party library files that libeng depends on. MATLAB uses these additional libraries to support Unicode character encoding and data compression in MAT-files.

These library files must reside in the same directory as libmx and libut. You can determine what most of these libraries are using the platform-specific commands shown here.

Operating System
Library Path and Filename
HP-UX
ldd -d libeng.sl
All Linux, Solaris
ldd -d libeng.s0
MacIntosh
otool -L libeng.dylib
Windows
See instructions below

On Windows, download the Dependency Walker utility from the following Web site

and then drag-and-drop the file $MATLAB/bin/win32/libeng.dll into the Depends window.

Third-Party Data Files

Verify that the appropriate Unicode data file is installed. MATLAB uses this file to support the use of Unicode. Systems that order bytes in a big-endian manner use icudt24b.dat, and those that have little-endian ordering use icudt24l.dat.

Operating System
Unicode File Path and Filename
HP-UX
$MATLAB/bin/hpux/icudt24b.dat
Linux
$MATLAB/bin/glnx86/icudt24l.dat
64-bit Linux
$MATLAB/bin/glnxa64/icudt24l.dat
Solaris
$MATLAB/bin/sol2/icudt24b.dat
MacIntosh
$MATLAB/bin/mac/icudt24b.dat
Windows
$MATLAB\bin\win32\icudt24l.dat


Previous page  Compiling and Linking Engine Programs Step 3 -- Build the Application Next page

© 1994-2005 The MathWorks, Inc.