Octave still set as default for m files even after changing to MATLAB

,

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?

Of you’re using nautilus, right click properties and check that open with is set to matlab.

Thanks.

1 Like

I use Dolphin, but this behavior occurs there and in Evolution.