我目前正在尝试运行这个存储库https://github.com/Fanziapril/mvfnet 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/"
是否可以运行.m
文件输入colab去做这个?
另外,我研究过 oct2py 库https://blink1073.github.io/oct2py/ https://blink1073.github.io/oct2py/,
但无法成功运行该文件。
我跟着这个如何在 Python 上运行 MATLAB 代码 https://stackoverflow.com/questions/51406331/how-to-run-a-matlab-code-on-python
您需要首先安装八度
!apt install octave
然后你可以运行你的m文件
!octave -W file.m
这是一个最小的例子 https://colab.research.google.com/drive/1x7Sgb-Io9iYCE-YEtx8zi7K8mXzBWAeC.
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)