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

14 Comments

Gautham Kini M
Gautham Kini M on 11 Feb 2018
Edited: Image Analyst on 25 Aug 2018
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
Muhammad Iqbal
Muhammad Iqbal on 17 Dec 2019
Edited: Muhammad Iqbal on 17 Dec 2019
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"
Image Analyst
Image Analyst on 7 Jan 2026
Edited: Image Analyst on 7 Jan 2026
@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.

Sign in to comment.

 Accepted Answer

Image Analyst
Image Analyst on 9 Jul 2014

32 votes

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

4 Comments

It work, thank you
thank you was searching for this for so long +1vote
It works thank you.
+1. It works thanks.

Sign in to comment.

More Answers (3)

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

8 Comments

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

Sign in to comment.

Steven Lord
Steven Lord on 29 Jul 2016
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 Comment

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.

Sign in to comment.

Categories

Community Treasure Hunt

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

Start Hunting!