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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With