MATLAB Answers

Error to run Python in MATLAB functions

1 view (last 30 days)
Farshid Daryabor
Farshid Daryabor on 4 Mar 2020
I am trying to run the attached 'merge_profiles.py' I has written in matlab, I don't know really the error come from where.
>> py.merge_profiles();
Undefined variable "py" or class "py.merge_profiles".
While I can run example one. I thanks anybody help me.
>> py.hello.world()
ans =
Python str with no properties.
hello world

  0 Comments

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!