matlab and python data transfer

5 vues (au cours des 30 derniers jours)
nt
nt le 9 Oct 2014
Réponse apportée : Swasti le 10 Juil 2025
Hi,
Can I know how to transfer data between matlab and python? It is better that I can call python function from matlab. If it cannot, transfer data is also ok. Thank you in advance.
  1 commentaire
Geoff Hayes
Geoff Hayes le 9 Oct 2014
Which version of MATLAB are you using? If R2014b, you can take a look at calling python libraries.
Else, what kind of data do you wish to transfer between MATALB and python?

Connectez-vous pour commenter.

Réponses (1)

Swasti
Swasti le 10 Juil 2025
It sounds like you want to call Python functions in MATLAB. You can do this using the Python Interface for MATLAB. There are more instructions on setting up the Python Interface here:
If you would instead like to call MATLAB functions from Python, you can use the MATLAB Engine API for Python. The instructions for setting up the MATLAB engine are here:

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