I closed the "Current Folder" window by mistake.
How can I re-display it?

14 个评论

Under the "Environment" section of the MATLAB tool ribbon (on the "Home" tab) click on "Layout". You will find the "Current Folder" option. Click on it and you can get your Current Folder window back. :) ?
It's really helpful. I had been stuck in this error for a long long time until i saw this post. Thanks a lot!
thank you
Thank You Sir.
Oooh Yeaaaaa because "ENVIRONMENT" is exactly what I think of when Im trying to find, or "VIEW", the "WINDOW" that I just accidently closed.... Whoever thought to use "Environment" for this, I seriously question your judgement. If I have to search for more than 5mins and then inevitably have to search google, just to find out how to open one of the main windows screens.... Well then sir, you deserve the app of the decade award!
Experienced MATLABbabbbber here....
@Hunter Keating: the term "environment" is a standard term, it is not one that TMW invented:
thank you
Hello,
Unfortunately, after reading this convo, I am unable to find or see the "Current Folder". I am new to MATLAB, but I followed the steps ahead and still cannot find the "Current Folder"
@Adrian what do you see when you type filebrowser into the command line? Is there any error message in the command window? Do you see a panel with all your files and folders showing, like the one below?
Hello!
No error, but no file folder are being loaded.
@Adrian What version are you using? If it's 2025 you should have the icons on the left of the image I just posted. Make sure the top icon is pushed -- the one with pages and text on them, just below the blue arrow.

请先登录,再进行评论。

 采纳的回答

Image Analyst
Image Analyst 2014-7-9

32 个投票

Type filebrowser either in the command window, or in your code.

更多回答(3 个)

Try to restore the default layout
desktop = com.mathworks.mde.desk.MLDesktop.getInstance;
desktop.restoreLayout('Default')

8 个评论

That's what I needed, thank you!
Worked perfectly, thanks a lot
Thank you so much.

请先登录,再进行评论。

Steven Lord
Steven Lord 2016-7-29

6 个投票

Use the Layout button in the Environment section of the Home tab on the toolstrip.
How do I stop MATLAB from opening a separate window whenevere I select any MATLAB file. The comman d window and edit must be the same window.

1 个评论

There is a little down arrow on the upper right of the editor title bar. Use that to tell it to "dock" the window. Then you'll just have one editor panel, though of course you'll have different tabs for each file that is open.

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 File Operations 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by