matlab and python data transfer

조회 수: 5 (최근 30일)
nt
nt 2014년 10월 9일
답변: Swasti 2025년 7월 10일
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
Geoff Hayes
Geoff Hayes 2014년 10월 9일
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?

댓글을 달려면 로그인하십시오.

답변 (1개)

Swasti
Swasti 2025년 7월 10일
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:

카테고리

Help CenterFile Exchange에서 Call Python from MATLAB에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by