Can't open editor in MATLAB 2020a

6 views (last 30 days)
Dominic Diston
Dominic Diston on 5 Sep 2020
Commented: Dominic Diston on 7 Sep 2020
When I attempt to open a file in current directory, I get the following error message:
Error using edit (line 66)
Failed to open MATLAB Editor.
Caused by:
Unable to resolve the name matlab.desktop.
I have absolutely no idea what's going on. All answers to similar looking problems don't seem to apply.
BTW Using default matlab path. Also, there are no other versions of matlab on my computer.
Also, can't open files via Windows file manager although they are associated with MATLAB 2020a.
  11 Comments
Dominic Diston
Dominic Diston on 7 Sep 2020
Not that I'm aware of. I'll take a look but it might take a while.
Dominic Diston
Dominic Diston on 7 Sep 2020
Found it! In a package I was given, several levels down, there is a subpackage called +matlab. Remove this and the editor problem doesn't exist. This has been in place for years and hasn't caused any clashes up to and including 2018b. Obviously, 2020a initializes differently. Apologies for the panic ... the root cause was totally unexpected.

Sign in to comment.

Answers (0)

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!