Reputation: 3563
My MATLAB editor stopped working. I'm not able to open any file via UI or command (edit file.m
). It all started when I was editing a script using matlab-emacs
.
I found a workaround to open files, but it is annoying. First, I need to click with the right button of the mouse in the file I want to open. Then, I select Compare against > Choose
. Clicking in one of the line numbers in the left panel opens the MATLAB editor. Once I'm in the editor, I can open any other file by choosing File > Open as Text...
. I also tried reinstalling MATLAB, but the problem remained.
I am using MATLAB R2011a and Ubuntu 11.10.
Upvotes: 2
Views: 512
Reputation: 3563
I spent a big amount of time reinstalling it, when it was far more simple.
File > Preferences...
Editor/Debugger
, my editor was set as a blank Text editor
, instead of MATLAB Editor
. MATLAB Editor
in the radio button.matlab-emacs
extension probably changed my settings.
Upvotes: 4