Running python function from Matlab

31 次查看(过去 30 天)
buer
buer 2014-10-6
编辑: per isakson 2014-10-17
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
Michelle Hirsch 2014-10-7
You could try using the Python interface introduced in MATLAB R2014b. You would need Python on your machine.
A few resources which might help:
  2 个评论
buer
buer 2014-10-15
Thanks...But my version is 2013b...so it does not support this?
Sarah Palfreyman
Sarah Palfreyman 2014-10-15
Correct R2013b does not have the feature. The feature was introduced in R2014b which is available to download now.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Call Python from MATLAB 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by