How to convert a python code file into matlab code, please help.
Mostrar comentarios más antiguos
I am using on command window system('python filename.py') ,but it is not working.
Respuestas (1)
Jan
el 1 de Nov. de 2014
0 votos
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 comentarios
sweety
el 1 de Nov. de 2014
sweety
el 1 de Nov. de 2014
Geoff Hayes
el 2 de Nov. de 2014
@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
Categorías
Más información sobre Call Python from MATLAB en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!