Can't open Matlab files in editor and shortcuts like Ctrl + D not working

12 次查看(过去 30 天)
Hi,
I'm running Matlab R2017a on Windows 10 64-bit (with Creators Update). Although I can open open .m from the Windows Explorer and a new Matlab instance starts, the same thing doesn't work if I double click on an m file in the Current Folder window inside Matlab. The same applies to right clicking -> 'Open', no reaction and no error message, but I can run scripts with 'Open as Live Script'. Also I can drag and drop a m-File into the editor and it just opens fine.
In addition, right clicking on an function "Open function.m" or pressing Ctrl + D doesn't work. As mention before, drag and dropping the function in the editor works.
Other files like pictures, PDFs and Excel spreadsheets open in Matlab with a double click.
I also installed Matlab on a different computer with Windows 10, with the same bugs.
Is there a fix for this annoying little problem?
  3 个评论
Jordy Jose
Jordy Jose 2017-11-13
Can you verify if the following preference value is MATLAB Editor: Preferences: MATLAB-> Editor/Debugger-> Editor If not, set it to MATLAB Editor
MarcelOev
MarcelOev 2017-11-14
The preference value was set correctly.
The fix was simply installing JAVA Runtime. After that, everything works fine now.

请先登录,再进行评论。

回答(1 个)

Suwichaya Suwanwimolkul
I am having the same problem.

类别

Help CenterFile Exchange 中查找有关 MATLAB Compiler 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by