the commond window always displays: Undefined variable "py" or function "py.command"
3 次查看(过去 30 天)
显示 更早的评论
my envirment : win10 x64 education // matlabr2015b //python 3.4 // registry python path for windows
It`s the fisrt time I call python from matlab.
the commond window always displays: Undefined variable "py" or function "py.command" //when input any py.* command?
0 个评论
回答(1 个)
Madhu Govindarajan
2015-11-19
Looks like you have the right version of python and MATLAB - http://www.mathworks.com/help/matlab/matlab_external/install-supported-python-implementation.html
Given this have you confirmed that the bitness of both match? Try other suggestions from here - http://www.mathworks.com/help/matlab/matlab_external/undefined-variable-py-or-function-py-command.html
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Call Python from MATLAB 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!