2

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.

1 Answer 1

4

I spent a big amount of time reinstalling it, when it was far more simple.

  1. Select File > Preferences...
  2. In Editor/Debugger, my editor was set as a blank Text editor, instead of MATLAB Editor.
  3. Just pick MATLAB Editor in the radio button.

MATLAB Editor

matlab-emacs extension probably changed my settings.

Sign up to request clarification or add additional context in comments.

1 Comment

Seems to me that matlab-emacs changed the settings for you rather than them mysteriously changing themselves ?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.