matlab and python data transfer

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 日

0 投票

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:

カテゴリ

タグ

質問済み:

nt
2014 年 10 月 9 日

回答済み:

2025 年 7 月 10 日

Community Treasure Hunt

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

Start Hunting!

Translated by