MATLAB如何调用python脚本?

我们可以通过Matlab的 system指令 ,实现对python脚本的调用。

MATLAB调用python脚本
因此,实现方法为:

[status,cmdout]=system(‘python D:\Desktop\hello_world.py’)
即python 路径
运行结果:
MATLAB调用python脚本

相关文章: