After the new installation of MATLAB2017, it is found that MATLAB is not associated with the m file.
Each time the m file is opened, the MATLAB software will be reopened. Right-click to open and select matlab.exe in the bin in the matlab installation path to still not solve the problem!
Solution:
1) Download the compressed package:
https://pan.baidu.com/s/1S20tlAEBZKqA87C8ib5vsQ
Unzip
2) Open associateFiles.m with MATLAB and run it to generate MatlabFileAssocFix.reg file.
3) Close MATLAB, double-click to open the reg file
4) Restart MATLAB. Just open a .m file, right-click to open and select MATLAB