This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Share MAT-File Applications

MATLAB® requires shared library files for building any MAT-file application. You must also distribute the run-time versions of these files along with any MAT-file application that you deploy to another system. Install the appropriate libraries in the matlabroot/bin/arch folder.

Library File Names by Operating System


In addition to these libraries, you must have all third-party library files that libmat requires. MATLAB uses these additional libraries to support Unicode® character encoding and data compression in MAT-files. These library files must reside in the same folder as libmx. Determine the libraries using the platform-specific methods described in the following table.

Library Dependency Commands


See the following instructions for Dependency Walker

ldd -d libmat.sootool -L libmat.dylib

On Windows systems, to find library dependencies, use the third-party product Dependency Walker. Dependency Walker is a free utility that scans Windows modules and builds a hierarchical tree diagram of all dependent modules. For each module found, it lists all the functions exported by that module, and which of those functions are called by other modules. Download the Dependency Walker utility from the website See for information on using the Dependency Walker.

Drag and drop the file matlabroot/bin/win64/libmat.dll into Depends window.

Was this topic helpful?