From: Carmen on
I have Vista on my computer. When I click on an .m file instead of opening the file in the Matlab editor it opens it with notepad. How can I associate .m files to Matlab so that when I click on them they will open directly in the Matlab editor? If I right-click the .m file and ask for "Open with" I get only Notepad and Word pad as alternatives.
From: Steven Lord on

"Carmen " <camena(a)live.com> wrote in message
news:hnlkkj$m7t$1(a)fred.mathworks.com...
>I have Vista on my computer. When I click on an .m file instead of opening
>the file in the Matlab editor it opens it with notepad. How can I associate
>.m files to Matlab so that when I click on them they will open directly in
>the Matlab editor? If I right-click the .m file and ask for "Open with" I
>get only Notepad and Word pad as alternatives.

http://www.mathworks.com/access/helpdesk/help/techdoc/matlab_env/f8-8880.html#f8-28791

--
Steve Lord
slord(a)mathworks.com
comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ


From: Silvia Appendino on
"Carmen " <camena(a)live.com> wrote in message <hnlkmk$nb4$1(a)fred.mathworks.com>...
> I have Vista on my computer. When I click on an .m file instead of opening the file in the Matlab editor it opens it with notepad. How can I associate .m files to Matlab so that when I click on them they will open directly in the Matlab editor? If I right-click the .m file and ask for "Open with" I get only Notepad and Word pad as alternatives.

usually you also should have 'select program' somewhere. once you selected it you can tell it to always open this kind of file with this program

hope this helps!
silvia