"CHEW YEONG " <email@example.com> wrote in message news:firstname.lastname@example.org... > "nishant " <email@example.com> wrote in message > <firstname.lastname@example.org>... >> 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. M-files 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 > > I'm having the same problem too. Instead of popping the .m editor, it > keeps opening a new Matlab without the .m editor. I say it's a bug in > R2010b.
Try following the instructions on this page; if it still doesn't work, contact Technical Support and work with them to determine the cause of this behavior on your system.