Cannot invoke Matlab runtime from python?

3 views (last 30 days)
Zubair Adil Soomro
Zubair Adil Soomro on 28 Oct 2022
Commented: Antoine on 30 Jan 2023
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 Comments
Zubair Adil Soomro
Zubair Adil Soomro on 31 Oct 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 on 30 Jan 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 ?

Sign in to comment.

Answers (0)

Categories

Find more on Python Package Integration in Help Center and File Exchange

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!