New instance of matlab opening every time I double click a matlab file
34 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Harish Ramachandran
2018-2-1
编辑:Harish Ramachandran
2018-2-1
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 个评论
Rina Blomberg
2019-9-24
编辑:Rina Blomberg
2019-9-24
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
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!