Fail connecting matlab to python using 'matlab_wrapper' python package

5 visualizaciones (últimos 30 días)
hamdi jbeli
hamdi jbeli el 17 de Ag. de 2016
Editada: James Tursa el 22 de Ag. de 2016
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

Respuestas (1)

Bo Li
Bo Li el 17 de Ag. de 2016
You may consider MATLAB Engine API for Python which was introduced in R2014b:

Categorías

Más información sobre Call MATLAB from Python en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by