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.

Platform Compatibility

If you obtain a binary MEX file from another source, be sure that the file was compiled for the same platform on which you want to run it. The file extension reflects the platform, as shown in the following table. To determine the extension for your platform, use the mexext function.

MEX File Platform-Dependent Extension

PlatformBinary MEX File Extension

Linux® (64-bit)


Apple Mac (64-bit)


Windows® (64-bit)



It is not possible to run a 32-bit MEX file from within a 64-bit version of MATLAB®.

See Also

Related Topics

Was this topic helpful?