How to convert a python code file into matlab code, please help.

답변 (1개)

Jan
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

okay....when i am writing on command window of matlab system(' python filename.py') then i got this message...'python' is not recognized as an internal or external command, operable program or batch file.
is there any way ?? Can i first convert python into C language after that C can be converted into MATLAB ???
@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에 대해 자세히 알아보기

태그

질문:

2014년 11월 1일

댓글:

2014년 11월 2일

Community Treasure Hunt

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

Start Hunting!

Translated by