
Re: associating .m files with matlab
Posted:
Jan 19, 2011 3:05 PM


Hi Jesse,
Here are steps that works for me: I closed matlab first, then ran ccleaner, ran Matlab as administrator (it gave me some error information when running the script stuff, I forgot the detail), restarted the operating system, then it works in the expected way. It should not be like this, but I failed a couple of times before I did the above. it's simply weird in my case. hehe
You can try the above steps and it should work.
P.S. the association with some other file extension (not m file) failed once, and I had to repeat the above process again to make it work again. It's indeed weird in my case.
Jonathan
"Jesse Sipple" <jesse.sipple'remove.this'@tufts.edu> wrote in message <ih77nj$lvd$1@fred.mathworks.com>... > 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

