How to convert a python code file into matlab code, please help.
显示 更早的评论
I am using on command window system('python filename.py') ,but it is not working.
回答(1 个)
Jan
2014-11-1
0 个投票
You cannot convert a python function automatically to Matlab.
If you explain "not working" with any details, we could try to assist you to solve the underlying problem.
3 个评论
sweety
2014-11-1
sweety
2014-11-1
Geoff Hayes
2014-11-2
@saroj - perhaps you don't have python installed. Go to your command window (outside of MATLAB) and type something like
python -V
What do you see? When I run the same in an OS X terminal window, I see
Python 2.7.2
类别
在 帮助中心 和 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!