Rice University logo
 
Top blue bar image
 

Associate .m file with Matlab in Windows 7

  1. Start Matlab with administrator’s privilege. Right click Matlab icon and click on “Run as administrator”
  2. At Matlab prompt, run the following line and restart Matlab.
cwd=pwd; cd([matlabroot '\toolbox\matlab\winfun\private']); fileassoc('add','.m') ;cd(cwd);

Comments are closed.