Cannot invoke Matlab runtime from python?

I am trying to run my matlab file from python IDE which is Pycharm.
I have tried to start the Matlab runtime but it is not invoking. It gives an error such as 'AttributeError: module 'sentimentAnalysis' has no attribute 'initialize''.
How can I solve this? Any ideas?

3 comentarios

Nilanshu Ranjan
Nilanshu Ranjan el 31 de Oct. de 2022
This does not seem to be MATLAB related error. It seems to be a Python related error that occurs due to invalid package imports. Can you check your code for the same?
Zubair Adil Soomro
Zubair Adil Soomro el 31 de Oct. de 2022
Yes the code was same. However, now the error has been resolved, this happened after restarting my pc. I think it could be due to the package was not valid yet as you have suggested.
Antoine
Antoine el 30 de En. de 2023
I have the same problem. However even when I restart my pc I still have the same error message. Do you have any ideas where it come from ?

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Productos

Versión

R2021a

Etiquetas

Preguntada:

el 28 de Oct. de 2022

Comentada:

el 30 de En. de 2023

Community Treasure Hunt

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

Start Hunting!

Translated by