matlab and python data transfer

6 次查看(过去 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