|
|
Re: associating .m files with matlab
Posted:
Oct 10, 2010 1:33 AM
|
|
"CHEW YEONG " <chewyeong90@gmail.com> wrote in message news:i8q7ld$euh$1@fred.mathworks.com... > "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. 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.
http://www.mathworks.com/help/techdoc/matlab_env/f8-8880.html#f8-28791
-- Steve Lord slord@mathworks.com comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ To contact Technical Support use the Contact Us link on http://www.mathworks.com
|
|