将Python函数导出到Matlab

问题描述 投票:0回答:1

我需要从Matlab调用这些Python函数。像这样的东西:

matplotlib.pyplotmatplotlibnumpy

但是我不知道如何开始。例如,我在计算机上安装了Python,但没有帮助等...我需要从头开始学习我也看下面的链接,但没有帮助:(Call Python function from MATLAB

python matlab interop
1个回答
0
投票

您需要从第一方打开Matlab:

转到垃圾箱:

cd /Applications/MATLAB_R2019a.app/bin/

打开它:

./matlab

下一步,使用Python类型:

!python

enter image description here

© www.soinside.com 2019 - 2024. All rights reserved.