Running python function from Matlab
Mostrar comentarios más antiguos
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
Respuestas (1)
Michelle Hirsch
el 7 de Oct. de 2014
1 voto
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 comentarios
buer
el 15 de Oct. de 2014
Sarah Palfreyman
el 15 de Oct. de 2014
Correct R2013b does not have the feature. The feature was introduced in R2014b which is available to download now.
Categorías
Más información sobre Call Python from MATLAB en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!