matlab and python data transfer

10 Ansichten (letzte 30 Tage)
nt
nt am 9 Okt. 2014
Beantwortet: Swasti am 10 Jul. 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 Kommentar
Geoff Hayes
Geoff Hayes am 9 Okt. 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?

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Swasti
Swasti am 10 Jul. 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:

Kategorien

Mehr zu Call Python from MATLAB finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by