[ANN] Mex.jl

Mex.jl is a new package which embeds Julia in the MATLAB process. It’s based on the old mexjulia project, but is compatible with later versions of Julia and assembled as a Julia package for easy installation and use. For most, the main utility of this package will be the ability to call Julia from MATLAB, but this package also allows embedded Julia to call MATLAB functions, which allows for more complicated use cases and better error handling.

This package can also be used in combination with MATLAB.jl in order to allow Julia to call MATLAB functions using Julia function callbacks. See, for example, Fmincon.jl which allows MATLAB’s nonlinear optimization function fmincon to be used with Julia.

And the most impressive (and perhaps surprising) part of all of this is that I was able to get automatic unit tests for this package working.