New instance of matlab opening every time I double click a matlab file
34 views (last 30 days)
Show older comments
Luca Amerio
on 12 Jan 2018
Edited: Rina Blomberg
on 24 Sep 2019
Hi Every time i double click a matlab file (*.m, *.mat or *.fig) in an explorer windows, a new MATLAB instance starts, even if another one is already opened.
The matlabroot folder, however, is on a shared network drive for which I don't have administrator right (and I cannot ask for them).
I copied the pathdef.m file in my userpath folder. However the issue is still present. How can I solve it?
I'm using MATLAB 2015b
1 Comment
Stephen23
on 12 Jan 2018
+1 for a clearly asked question. Compact, but includes relevant info and links.
Accepted Answer
Harish Ramachandran
on 1 Feb 2018
Edited: Harish Ramachandran
on 1 Feb 2018
Please run the file exchange code and restart MATLAB.
https://www.mathworks.com/matlabcentral/fileexchange/51165-matlab-file-association-fix
This page explains how to re-register the .MAT extension, but you can follow the same instructions for other file types.
5 Comments
Rina Blomberg
on 24 Sep 2019
Edited: Rina Blomberg
on 24 Sep 2019
The link to "Azad" is incorrect. Azad's solution works!! Correct link to this comment: https://se.mathworks.com/matlabcentral/answers/93468-why-is-a-new-instance-of-matlab-opened-when-i-double-click-on-a-matlab-file-in-windows-explorer-even#answer_301876
More Answers (0)
See Also
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!