Whenever I try to open a .m file, Octave launches and attempts to run the file. Most of the time these files aren’t meant to be run as standalone scripts, and I’d prefer to open them to be edited.
I went into System Settings and changed the default application for “x-matlab” (.m) files to MATLAB. However, when I click on a .m file now, it still launches Octave and tries to run the file. Octave then quits as soon as the file fails to run.
How can I change the default application for .m files?