我目前正在尝试运行这个代码仓库https://github.com/Fanziapril/mvfnet,需要执行以下步骤:
"Run the Matlab/ModelGeneration/ModelGenerate.m to generate the shape
model "Model_Shape.mat" and copy it to the Matlab/"
在 colab 中运行 .m
文件是否可行呢?
另外,我看了一下 oct2py 库 https://blink1073.github.io/oct2py/, 但是无法成功运行文件。 我按照这个 如何在Python上运行MATLAB代码 进行操作。
!matlab file.m
来运行它(基本上用可能是Octave或其他可以在Colab中安装的MATLAB编译器替换matlab,并且您在命令之前使用感叹号表示它要像bash命令一样运行)。 - akshayk07