Running python function from Matlab

22 vues (au cours des 30 derniers jours)
buer
buer le 6 Oct 2014
Modifié(e) : per isakson le 17 Oct 2014
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

Réponses (1)

Michelle Hirsch
Michelle Hirsch le 7 Oct 2014
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 commentaires
buer
buer le 15 Oct 2014
Thanks...But my version is 2013b...so it does not support this?
Sarah Palfreyman
Sarah Palfreyman le 15 Oct 2014
Correct R2013b does not have the feature. The feature was introduced in R2014b which is available to download now.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Call Python from MATLAB dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by