why can I only edit one script?

Somehow I have reset Matlab to that I can only edit one script at a time. Can you suggest what I am doing wrong? Thanks.

1 件のコメント

Image Analyst
Image Analyst 2025 年 12 月 26 日
What happens if you double-click another filename in the Current Folder panel? Doesn't it open it into a new, separate tab/window? Or does it close the first one and then open the one you clicked on?

サインインしてコメントする。

回答 (1 件)

Star Strider
Star Strider 2025 年 12 月 26 日

1 投票

You should be able to have multiple Editor tabs available so that you can edit a script in each tab.
In the Editor and with the 'Editor' tab (the other tabs that I can see are 'Publish' and 'View'), click on either 'New' or 'Open' as appropriate to start a new script or open and load an existing one, each in its own tab.
If i'm failing to understand your question, Contact Support and supply the necessary details to MathWorks.

7 件のコメント

David Koenig
David Koenig 2025 年 12 月 26 日
Thanks, but as soon as I click on 'open' and choose another script to edit, the current script goes away leaving me with just one script. Therefore, I can't accept your answer.
Star Strider
Star Strider 2025 年 12 月 26 日
I assume by 'goes away', it doesn't simply open and switch to another tab, as it should, leaving the original script in its own tab.
There should be an arrow (barely visible in some instances) that is oriented either horizontally or vertically, to the left of the only open tab. Clicking on it should reveal other open tabs that you can then click on to reveal their contents. It may be necessary to widen the Editor to see all the open tabs, expecially if it's not docked. If it is docked, un-dock it by clicking on the 'Dock' symbol in the upper right corner, and select 'Undock'.
Alternatively, close the editor entirely, and in the MATLAB Desktop, click 'Open' in the 'Home' section of the top toolstrip, and select the first file you want to edit. (I managed to screw-up the Editor while I was experimenting with this, and had to do exactly that.) You may also have to undock the Editor after it opens.
Without seeing how you have the Editor configured (docked or undocked) and exactly what the problem may be, it is difficult for me to determine what the problem is. That makes solving it significantly more difficult.
Image Analyst
Image Analyst 2025 年 12 月 26 日
移動済み: Matt J 2025 年 12 月 27 日
@David Koenig are you running windows? If so type "steps" into the search field on the task bar and create a video showing all the steps as you go through your process of trying to open an additional window.
David Koenig
David Koenig 2025 年 12 月 27 日
Thanks for the suggestion. i can't get it to work.
Star Strider
Star Strider 2025 年 12 月 27 日
Contact Support using the link I provided in my original answer.
David Koenig
David Koenig 2025 年 12 月 28 日
移動済み: John D'Errico 2025 年 12 月 29 日
Thanks for your help. I had moved my laptop to a different location (different hook ups,...). I just re-installed my laptop in the original place and found that my editor problems have gone away. Sorry about the distraction. I have no idea why I had those problems with my editor.
Star Strider
Star Strider 2025 年 12 月 28 日
移動済み: John D'Errico 2025 年 12 月 29 日
Noted.

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeEnvironment and Settings についてさらに検索

製品

リリース

R2023a

タグ

質問済み:

2025 年 12 月 25 日

移動済み:

2025 年 12 月 29 日

Community Treasure Hunt

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

Start Hunting!

Translated by