Fail connecting matlab to python using 'matlab_wrapper' python package

2 次查看(过去 30 天)
Am connecting between python and matlab using the 'matlab_wrapper' package. But when I run the script in python,it gives me the following error :
RuntimeError: MATLAB function object at 0x00000000039BE388 failed (<matlab_wrapper.matlab_session.LP_mxArray object at 0x00000000039D3348>) with arguments: (<matlab_wrapper.matlab_session.LP_Engine object at 0x00000000039BA6C8>, 'ERRSTR__')
It's obvious the problem is on the matlab_wrapper package but I don't know exactly where.Can Anyone help please. i'll appreciate it

回答(1 个)

Bo Li
Bo Li 2016-8-17
You may consider MATLAB Engine API for Python which was introduced in R2014b:

类别

Help CenterFile Exchange 中查找有关 Call MATLAB from Python 的更多信息

标签

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by