matlab and python data transfer

4 ビュー (過去 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 Center および File ExchangeCall Python from MATLAB についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by