arokem / python-matlab-bridge

A simple Python => MATLAB(R) interface and a matlab_magic for ipython
BSD 2-Clause "Simplified" License
332 stars 97 forks source link

Cannot specify location of matlab executable #247

Open tsdev opened 7 years ago

tsdev commented 7 years ago

The following line from the documentation does not work (using the path to my Matlab installation): mlab = Matlab(matlab='/Applications/MATLAB_R2011a.app/bin/matlab') I get the following error: TypeError: __init__() got an unexpected keyword argument 'matlab'

tsdev commented 7 years ago

I found the right option name is 'executable'!

arokem commented 7 years ago

Hey @tsdev : where did you find that (older) key-word argument? The README does have the right key-word argument (here: https://github.com/arokem/python-matlab-bridge/blame/master/README.md#L51)

tsdev commented 7 years ago

I found it here (this is the first page that Google finds): https://arokem.github.io/python-matlab-bridge/