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

13 views (last 30 days)
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 Comments
Jordy Jose
Jordy Jose on 13 Nov 2017
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 on 14 Nov 2017
The preference value was set correctly.
The fix was simply installing JAVA Runtime. After that, everything works fine now.

Sign in to comment.

Answers (1)

Suwichaya Suwanwimolkul
Suwichaya Suwanwimolkul on 10 Dec 2017
I am having the same problem.

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!