.m files are not opening in editor

Dear MATLAB users, I've just installed matlab 2018a. whenever I doubleclick on a .m file Matlab starts instead of opening the desired file in a new tab in the editor eventhough Matlab is already running. Thanks in advance

5 Comments

I did. I reset matlab as a default program to open the *.m files but it didn’t help.
Just to be clear, every time you open an m file directly from a folder, a new version of matlab boots and opens, correct? Is it the same 2018a version of matlab each time?
Exactly. Thx for the link. The problem looks similar. I’ll try it
Samhar Saleh
Samhar Saleh on 24 Jul 2018
Edited: Samhar Saleh on 24 Jul 2018
As I have just said, a new instance of MATLAB is launched when i double click a *.m file. but the file itself is not opening in the new instance just its path. I tried to uninstall the 18a and install 17b but the problem remains unsolved. I am not runnig MATLAB as an adminstrator as mentioned in the link above and no other version was installed before 18a.

Sign in to comment.

More Answers (1)

Hello,
I had the same problem in r2018a. You should download the file on below link, run the code inside on it.
Then, run the composed .reg file. Now, You can reopen the MATLAB. The problem should be solved.

2 Comments

Just to mention it: This is the same link to the FileExchange submission as in my answer.
Dear Jan,
I am sorry to inform that you have just leave the link. You didn't explain step by step.
But, I am new at mathworks platform. I think you can mention me about the rules.

Sign in to comment.

Categories

Products

Release

R2018a

Community Treasure Hunt

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

Start Hunting!