Fail connecting matlab to python using 'matlab_wrapper' python package

1 ビュー (過去 30 日間)
hamdi jbeli
hamdi jbeli 2016 年 8 月 17 日
編集済み: James Tursa 2016 年 8 月 22 日
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:



Community Treasure Hunt

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

Start Hunting!

Translated by