MATLAB Answers

Please explain how does this file work?

2 views (last 30 days)
Junaid Qutab
Junaid Qutab on 27 Sep 2021
Answered: the cyclist on 27 Sep 2021
I am trying to replicate the results of a research paper and the author has posted her code on github. So for the algorithm there is a folder that contain multiple files with a matlab extension (*.m), however, there is this one main file with no extension at all that apparently ties it all together. Please see the github link below. My question is how should I run this file? Is there is a special toolbox that runs this code? Matlab can open the file (having no extension) and it shows a matlab code, but I can't seem to run it (no run button). I have tried adding an extension myself but that doesn't explain why it is missing an extension.

Accepted Answer

the cyclist
the cyclist on 27 Sep 2021
Because it does look like MATLAB code, it looks like you could add a .m extension to the file, and run it normally.
I'm not sure why the author did that (and doesn't have a README, etc).

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by