如何为未安装 MATLAB 的 Linux 系统导出 MATLAB 代码?

How to export MATLAB code for a Linux System that don't have MATLAB installed?

我的 Windows PC 上安装了 MATLAB。我想要的是将一些 MATLAB 代码导出到未安装 MATLAB 的 Linux 服务器。我想从我的 Python 代码中调用该 MATLAB 代码。如果不需要许可证,我可以在 Linux 系统上安装 MATLAB 运行时。请帮忙!

Matlab需要购买。在 https://www.gnu.org/software/octave/index.

有一个名为 Octave 的开源软件包,它非常接近 Matlab

但是,Python numpyscipy 模块基本上实现了 Matlab 中的所有内容,通常使用相同的拼写。如果您的 Matlab 代码不是几千行,那么使用 numpyscipy.

将其重新编码为 Python 代码可能会更好