I've spent the past day or so working through the various complexities in
calling Matlab routines from Python (please do not reply with suggestions to
use Numpy/Scipy/etc. - our customer is using Matlab, and I needed to learn
how to access it through COM).
Matlab's COM API is actually pretty clean/simple, but there are a few
wrinkles, some undocumented "magic strings", and some odd surprises. Also,
the Matlab COM API was designed for lesser languages that do not have
built-in support for complex data. So I captured my usage notes, a simple
wrapper class, and some test code, to simplify this task.
You can find my notes at
http://www.geocities.com/ptmcg/pytho...om_python.html.
HTH,
-- Paul McGuire