Running python function from Matlab
Afficher commentaires plus anciens
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
le 7 Oct 2014
1 vote
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 commentaires
buer
le 15 Oct 2014
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.
Catégories
En savoir plus sur Call Python from MATLAB dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!