Introduction - If you have any usage issues, please Google them yourself
Copy the compressed package private folder three files to: MATLAB installation directory \ mcr \ toolbox \ matlab \ winfun \ private \ folder
Run the program:
cwd = pwd
cd ([matlabroot \ toolbox \ matlab \ winfun \ private ])
fileassoc ( add , {,,,,, [mexext . ] m. mat. fig. p. mdl. }) focus
cd (cwd)
disp ( Changed Windows file associations. FIG, M, MAT, MDL, MEX, and P files are now associated with MATLAB. )
It can achieve matlab m file association