Running python function from Matlab
이전 댓글 표시
Hello everyone,
I got one problem to ask. Is it possible to run a function from python file test.py? In my text.py there have many functions, so how can I call function from it? Is it possible I do not install Python in my computer and do that? Thanks so much, please give some advice. Thanks
BR buer
답변 (1개)
Michelle Hirsch
2014년 10월 7일
1 개 추천
You could try using the Python interface introduced in MATLAB R2014b. You would need Python on your machine.
A few resources which might help:
- Calling Python from MATLAB documentation
- Calling custom Python modules (shows how to call multiple functions from a single Python file).
댓글 수: 2
buer
2014년 10월 15일
Sarah Palfreyman
2014년 10월 15일
Correct R2013b does not have the feature. The feature was introduced in R2014b which is available to download now.
카테고리
도움말 센터 및 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!