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 Wang" wrote in message <firstname.lastname@example.org>... > "Ethan Leong" <email@example.com> wrote in message <firstname.lastname@example.org>... > > 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