Thanks to everyone for your work on SWIG, much appreciated.

We've been successful using SWIG to wrap our C++ API for use in Python.  We would like to do the same with Matlab.

Searching around, there seems to be lots of interest in a Matlab target for SWIG, but I don't see any clear winner in the development race.  Is there a community sense of what is working?

I see the following approaches:

https://github.com/twiho/Matlab-in-SWIG  (not touched in 1 year)

http://alumni.media.mit.edu/~sbasu/code/swigmatlabplus/  (marked 2001)

http://is.muni.cz/th/256594/fi_m/thesis.pdf (2012 MS Thesis)

SWIG to Java and then Java to Matlab.

SWIG to C (not supported?) and C to MEX to Matlab.

We've done some C++ manually wrapped to C to MEX to Matlab with success, but we'd like a more clean path.


Non-SWIG solutions:

http://www.cs.cornell.edu/~bindel/sw/mwrap/

http://lnc.usc.edu/~holt/matwrap/ (last update 2001)


Has anyone considered lobbying Mathworks about taking on a Matlab target for SWIG?  It seems to me that it is clearly in their interest, and it doesn't seem like it would take a huge amount of effort/resources.

Thanks for any help,

Rob