MATLAB Answers

0

How to call a python program from matlabr2019a

Asked by Saugata Bose on 16 Sep 2019
Latest activity Answered by Nicolas B.
on 16 Sep 2019
Hi
I am trying to implement vader sentiment scores. In my earlier thread, Walter Roberson has provided me a python implementation link. As far as I understand, I need to connect to the python program from my matlab. But I have no clue from where to begin. Besides, when did I execute this from my matlab it shows error.
>> pyenv('Version','version')
Undefined function or variable 'pyenv'.
I have python 3.7.4 installed(64 bit) and I already added the path in the matlab as well. Would you please guide me how to resolve the issue and how to connect to the python function.
thanks,

  0 Comments

Sign in to comment.

1 Answer

Answer by Nicolas B.
on 16 Sep 2019

Hey Saugata,
you should follow this guide from mathworks: Undefined variable "py" or function "py.command"
It helps you to ensure you have installed and configured Python correctly.
Regards

  0 Comments

Sign in to comment.