Mammar
Posts:
5
Registered:
11/19/09


Re: associating .m files with matlab
Posted:
Apr 3, 2011 6:25 AM


"nishant " <mishra.nishant@live.com> wrote in message <i8pmcb$doc$1@fred.mathworks.com>... > i have uninstalled matlab 2009a n switched to matlab 2010b but now the .m files do not open..they give the option as windows do not know the file....i've also made changes to it's path n made it open with matlab C:\Program Files\MATLAB\R2010b\bin\win64 but it again launches an instance of matlab but not the file in the editor.... > I simply end up getting two or three instances of matlab but not the editor... > i have also tried commandwindow; cwd=pwd; cd([matlabroot '\toolbox\matlab\winfun\private']); fileassoc('add','.m') ;cd(cwd); disp('Changed Windows file association. Mfiles are now associated with MATLAB.'); > but it throws error saying cannot modify the registry.... > i am using win7 64bit...this problem is really irksome....please help
Hello Every body, i had also the same problem ( R2010b with Win7 64bit). The solution is : 1 Choose installation type: Custom then when MATLAB asked for specify products to install (Toolboxs) 2 Diselect the first one , i.e : diselect "" MATLAB Distributed Computing serveor 5.0"" then MATLAB will ask you to select file's extensions: 3 Select all of the associate files types to open with the application and that it .... Hope this will help ......Enjoy

