
Re: associating .m files with matlab
Posted:
Jan 19, 2011 12:41 PM


I'm having the same problem. I downloaded the ccleaner and ran the registry cleaner but it still opens a new matlab program every time I try to open an mfile. Were there any tricks you did after running ccleaner to get it to be associated with the proper program?
I tried the link below with associating the file type to the matlab.exe in C:\Program Files\MATLAB\R2010b\bin\win64 http://www.mathworks.com/help/techdoc/matlab_env/f88880.html#f828791
I'm running 2010b on Windows 7 64bit. Glad to see I'm not the only one with this problem.
Thanks for the help, Jesse
"Jonathan Wang" wrote in message <ig0uh8$njr$1@fred.mathworks.com>... > Sorry, Ethan Leong's method works. You just need to run ccleaner and fix registry issue, and then it should work and open new m in editor only, rather to lauch another instance of matlab. It did not work in the first time, but works thereafter... > > Thanks you, Ethan Leong. > > Jonathan > > "Jonathan Wang" wrote in message <ig0sla$m89$1@fred.mathworks.com>... > > "Ethan Leong" <chewyeong90@gmail.com> wrote in message <i8ts4r$iu4$1@fred.mathworks.com>... > > > I found the solution for this. > > > > > > Download ccleaner and run the registry cleaner. Since R2010a is uninstalled, the registry is still pointing towards R2010a. After running the registry cleaner, the problem is fixed. > > > > > > Thanks > > > > Thanks for the tip, but again, if we are already running matlab, how can we simply open the m file ONLY, rather than launch another instance Matlab and its editor? > > > > Jonathan

