A execução do Matlab usando Python fornece o erro 'Nenhum módulo chamado matlab.engine'
Estou tentando executar o código Matlab usando Python. Tentei seguir as instruções fornecidas nestePágina Mathworks.
Ao tentar importar o Matlab pelo Python, ele foi instalado usandopip install matlab
.
No entanto, a importaçãomatlab.engine
dá o erroNo module named 'matlab.engine'; 'matlab' is not a package
. Não pode ser instalado usandopip install engine
ou.
Como posso obter o código em execução? O código Python que estou executando é o seguinte:
import matlab.engine
eng = matlab.engine.start_matlab()
eng.triarea(nargout=0)
Versão Python - 3.5
Versão Matlab - 8.5.0.197613 (R2015a)