Rice University logo
 
Top blue bar image
 

Archive for the ‘Uncategorized’ Category


Associate .m file with Matlab in Windows 7

May 29th, 2012 by wy1
  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);