# To install run from cmd: cd "matlabrootexternenginespython" python setup.py install # Then you should be able to import >>>import matlab.engine >>>eng = matlab.engine.start_matlab() >>>eng.addpath(r'c:demo',nargout=0) >>>eng.foo()