Call MATLAB from Mathematica
C Objective-C Shell
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Note: I do not use this any more. Consider using MATLink instead.


Call MATLAB from Mathematica.

This is an updated version of Robert Zhang's mEngine from

It works with OS X and 64 bit versions of MATLAB and Mathematica


First edit the Makefile and ensure that the paths to the Mathematica and MATLAB directories are correct for your machine

cd mEngineSource
cp mEngine ..

Edit and ensure that the path to your MATLAB installation is correct.

Test mEngine using the examples from mEngine.nb.

A precompiled binary for 64 bit OS X 10.6 or later is available here.

Important: Do not forget to edit and set the correct path to your MATLAB installation so mEngine can find the matlab executable!