I have a Matlab function that returns a variable number of results. In Matlab I call it in the following way
>> [A, B] = func(C);
When I use mlab
to wrap this call in Python I only get A
>>> result = mlab.func(C)
Pattern matching on the Python side (i.e. [A, B] = mlab.func(C)
) is predictably ineffective.
How can I get all of the returned values from mlab
? Is there some lower-level API I'm missing?