How to open a .m file without opening another Matlab process

Hi all! I use a R2010b version and when I open a new M-file directly from a folder in my computer, another Matlab program is opened. How can I just click on the M-file and open it in the editor of the current program?
Thanks!

 Accepted Answer

hi, you can just Put all m files in a folder and make it as current working directory like I work in C:\program files\Matlab\2012a\bin and one thing you can do is to make matlab layout default by going from window>Desktop Layout>default
and after that you can just go to folder and double click the m file
hope it solves the problem

More Answers (0)

Categories

Find more on MATLAB in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!