How can I make MATLAB open .m files on the same window that is currently open (open as a new tab next to the current tab)?
129 ビュー (過去 30 日間)
古いコメントを表示
I recently received a computer from our department and tried to open .m files. (R2017a) Whenever I double-clicked them, they opened in new windows. But these new windows do not include the new .m files that I tried to open; they still had the old tabs that were open already. I also tried to drag and drop .m files to MATLAB window that was open and it didn't let me open them, showing me a circle mouse icon with a cross in it. My labtop has the same version of MATLAB (R2017a) and the things I mentioned above do not happen at all. Can anybody help me with this issue?
1 件のコメント
Giacomo Dimundo
2018 年 1 月 11 日
Hi, have you find the solution yet? I've got the same problem, with windows 10 and R2017b. Thanks in advance
回答 (5 件)
Berke Miraç
2023 年 1 月 27 日
Open the .m file and after that you click Crtl+Shift+D. It helps dock to .m file to main MATLAB page. If it helps please vote :))
2 件のコメント
Steven Lord
2024 年 10 月 9 日
The shortcut key may be different on different platforms, though the operation is the same. See the "Undock Tools and Documents" section on this documentation page. I believe if you search the list of shortcuts for the word "dock" you'll find the appropriate shortcut for your platform.
James Connor
2018 年 1 月 19 日
here is the solution:
download this script and run:
then open .reg file in folder which will be created
5 件のコメント
Niraj Gadakari
2017 年 9 月 26 日
You can associate file types to the required MATLAB application. Here is the link that discusses settings to associate file types with a certain application.
1 件のコメント
Nagabhushan SN
2018 年 8 月 19 日
編集済み: Nagabhushan SN
2018 年 8 月 19 日
Doesn't work properly. Opens .m fles in MatLab, but in a new MatLab window. Doesn't open the .m file in the same window (already open window).
Johannes Kalliauer
2018 年 5 月 14 日
I have the same problem on linux. That Matlab opens a new Window instead of a new tab, when opening a file from the file-explorer.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Environment and Settings についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!