I am currently trying to run this repo https://github.com/Fanziapril/mvfnet which requires a step:
"Run the Matlab/ModelGeneration/ModelGenerate.m to generate the shape
model "Model_Shape.mat" and copy it to the Matlab/"
Is it possible to run a .m
file in colab to do this?
Also, I have looked into oct2py library https://blink1073.github.io/oct2py/ , but was not able to successfully run the file. I followed this How to run a MATLAB code on Python
You need to first install octave with
!apt install octave
Then you can run your m-file with
!octave -W file.m
Here's a minimal example .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.