I'm running R2009a on Win7x64. When I double click a .m file in windows explorer, it proceeds to open a whole new matlab session, even if I'm already running matlab with an open editor window. If I right click the file and choose "Open With: Matlab", it opens the file in the existing Matlab session.
Has anyone else experienced this problem? Everything I find is about how to associate .m files with Matlab, and that's not the problem here. I installed Mathematica after Matlab, which I think switched the .m file association away. I switched it back, but the double click problem still lingers. I'm not sure if it's a matlab problem or a windows-talking-to matlab problem . . .
|
|
0
|
|
|
|
Reply
|
James
|
12/16/2009 4:25:20 PM |
|
"James " <zeek0us@yahoo.com> wrote in message
news:hgb1lg$biv$1@fred.mathworks.com...
> I'm running R2009a on Win7x64. When I double click a .m file in windows
> explorer, it proceeds to open a whole new matlab session, even if I'm
> already running matlab with an open editor window. If I right click the
> file and choose "Open With: Matlab", it opens the file in the existing
> Matlab session.
>
> Has anyone else experienced this problem? Everything I find is about how
> to associate .m files with Matlab, and that's not the problem here. I
> installed Mathematica after Matlab, which I think switched the .m file
> association away. I switched it back, but the double click problem still
> lingers. I'm not sure if it's a matlab problem or a windows-talking-to
> matlab problem . . .
It sounds like you might need to reassociate the extension with MATLAB using
the instructions in the documentation:
http://www.mathworks.com/access/helpdesk/help/techdoc/matlab_env/f8-8880.html#f8-28791
Yes, I know you switched the association back, but I believe the utilities
perform an additional step that enables the double-click behavior.
--
Steve Lord
slord@mathworks.com
comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ
|
|
0
|
|
|
|
Reply
|
Steven
|
12/16/2009 4:45:36 PM
|
|
"Steven Lord" <slord@mathworks.com> wrote in message <hgb2rf$t3l$1@fred.mathworks.com>...
>
> "James " <zeek0us@yahoo.com> wrote in message
> news:hgb1lg$biv$1@fred.mathworks.com...
> > I'm running R2009a on Win7x64. When I double click a .m file in windows
> > explorer, it proceeds to open a whole new matlab session, even if I'm
> > already running matlab with an open editor window. If I right click the
> > file and choose "Open With: Matlab", it opens the file in the existing
> > Matlab session.
> >
> > Has anyone else experienced this problem? Everything I find is about how
> > to associate .m files with Matlab, and that's not the problem here. I
> > installed Mathematica after Matlab, which I think switched the .m file
> > association away. I switched it back, but the double click problem still
> > lingers. I'm not sure if it's a matlab problem or a windows-talking-to
> > matlab problem . . .
>
> It sounds like you might need to reassociate the extension with MATLAB using
> the instructions in the documentation:
>
> http://www.mathworks.com/access/helpdesk/help/techdoc/matlab_env/f8-8880.html#f8-28791
>
> Yes, I know you switched the association back, but I believe the utilities
> perform an additional step that enables the double-click behavior.
>
> --
> Steve Lord
> slord@mathworks.com
> comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ
>
Could you point me to similar instructions for Unix platforms? I have never been able to open m-files in the currently open matlab editor through Nautilus on Ubuntu or RHEL. I'm wondering if there is a command line option for "use current session" but I can't find any information about that.
|
|
0
|
|
|
|
Reply
|
Alan
|
12/16/2009 6:16:19 PM
|
|
"Alan B" <monguin61REM@OVETHIS.yahoo.com> wrote in message
news:hgb85j$f1u$1@fred.mathworks.com...
> "Steven Lord" <slord@mathworks.com> wrote in message
> <hgb2rf$t3l$1@fred.mathworks.com>...
*snip*
> Could you point me to similar instructions for Unix platforms? I have
> never been able to open m-files in the currently open matlab editor
> through Nautilus on Ubuntu or RHEL. I'm wondering if there is a command
> line option for "use current session" but I can't find any information
> about that.
I don't know if there are any similar instructions for UNIX; if there are, I
don't know where they are.
--
Steve Lord
slord@mathworks.com
comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ
|
|
0
|
|
|
|
Reply
|
Steven
|
12/17/2009 6:49:15 PM
|
|
|
3 Replies
422 Views
(page loaded in 0.041 seconds)
Similiar Articles: double click m file opens new matlab session - comp.soft-sys ...I'm running R2009a on Win7x64. When I double click a .m file in windows explorer, it proceeds to open a whole new matlab session, even if I'm already... Matlab closes on clicking 'open file' - comp.soft-sys.matlab ...double click m file opens new matlab session - comp.soft-sys ..... those of the latest closed m file, when starting matlab? ... Running BASH on starting a new session ... m file problem - comp.soft-sys.matlab... Files type go to m and delete it push add new ... open another matlab. > How can I fix it? Hi, Don't double click on the .m file, or .mat file. In the MATLAB session ... Opening MAT Files - comp.soft-sys.matlabOpening MAT Files - comp.soft-sys.matlab double click m file opens new matlab session - comp.soft-sys ... Opening MAT Files - comp.soft-sys.matlab double click m file ... problem with opening a *.fig file - comp.soft-sys.matlab ...double click m file opens new matlab session - comp.soft-sys ... problem with opening a *.fig file - comp.soft-sys.matlab ... double click m file opens new matlab session ... open model in running matlab - comp.soft-sys.matlabdouble click m file opens new matlab session - comp.soft-sys ... open model in running matlab - comp.soft-sys.matlab double click m file opens new matlab session - comp ... set path to latest file, when starting - comp.soft-sys.matlab ...double click m file opens new matlab session - comp.soft-sys ... set path to latest file, when starting - comp.soft-sys.matlab ..... those of the latest closed m file ... Running BASH on starting a new session - comp.sys.hp.hpux ...double click m file opens new matlab session - comp.soft-sys ... set path to latest file, when starting - comp.soft-sys.matlab ..... those of the latest closed m file ... send email using Outlook opens new session each time I send an ...... launch just simply show up in one session, cascaded on each ... -- Don't bother trying to contact me via email ... double click m file opens new matlab session - comp ... Opening multiple files in PSP from thumbsplus!?! - comp.graphics ...But if PSP is open, then I can just drag all 5 into PSP from Explorer ... Opening Multiple Files - comp.soft-sys.matlab double click m file opens new matlab session ... double click m file opens new matlab session - Newsreader - MATLAB ...I'm running R2009a on Win7x64. When I double click a .m file in windows explorer, it proceeds to open a whole new matlab session, even if I'm already running matlab ... double click m file opens new matlab session - comp.soft-sys ...I'm running R2009a on Win7x64. When I double click a .m file in windows explorer, it proceeds to open a whole new matlab session, even if I'm already... 7/21/2012 10:58:01 PM
|