External Interfaces Previous page   Next Page

Required Files from Third-Party Sources

MATLAB requires the following data and library files for building any MAT-file application. You must also distribute these files along with any MAT-file application that you deploy to another system:

Third-Party Data Files

When building a MAT-file application on your system or deploying a MAT-file application to some other system, make sure that the appropriate Unicode data file is installed in the $MATLAB/bin/$ARCH directory. MATLAB uses this file to support Unicode.

For systems that order bytes in a big-endian manner, use

For systems that order bytes in a little-endian manner, use

Third-Party Libraries

When building a MAT-file application on your system or deploying a MAT-file application to some other system, make sure that the appropriate libraries are installed in the $MATLAB/bin/$ARCH directory (where $MATLAB is the MATLAB root directory and $ARCH is your system architecture).

In addition to these libraries, you must also have all third-party library files that libmat 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 methods described below.

On Linux, Solaris, or HP-UX Systems

Type the following command:

On Macintosh Systems

Type the following command:

On Windows Systems

Download the Dependency Walker utility from the following Web site

and then drag-and-drop the file $MATLAB/bin/win32/libmat.dll into Depends window. ($MATLAB represents the MATLAB root directory).

Working Directly with Unicode

If you need to manipulate Unicode text directly in your application, version 2.4 of International Components for Unicode (ICU) is freely available online from the IBM Corporation Web site at:


Previous page  Compiling and Linking on Windows MATLAB Interface to Generic DLLs Next page

© 1994-2005 The MathWorks, Inc.