Can't open editor in MATLAB 2020a
显示 更早的评论
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 个评论
Dominic Diston
2020-9-5
Walter Roberson
2020-9-5
What shows up for
which matlab.desktop.editor.newDocument
You should expect
toolbox/matlab/codetools/+matlab/+desktop/+editor/newDocument.m
under the MATLAB installation directory.
Dominic Diston
2020-9-5
Dominic Diston
2020-9-5
Dominic Diston
2020-9-5
Walter Roberson
2020-9-5
>> matlab.desktop.editor.Document.openEditorForExistingFile('File.m')
Error using matlab.desktop.editor.JavaEditorDocument>openEditorViaFunction (line 493)
Open requires that File.m be an absolute path.
Dominic Diston
2020-9-5
Dominic Diston
2020-9-6
Walter Roberson
2020-9-6
That last bit is normal, and has to do with the way Live Script works.
Is it possible that some function you are adding the path to is interfering with MATLAB? For example there is a common third-party software package that defines isrow() and that causes problems.
Dominic Diston
2020-9-7
Dominic Diston
2020-9-7
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!