The current folder window
Show older comments
I closed the "Current Folder" window by mistake.
How can I re-display it?
14 Comments
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. :) ?
Leira Ruth Fulgueras
on 25 Aug 2018
Thank you!
quy nguyen the
on 13 Oct 2018
thanks
Thai Thieu Hong
on 24 Dec 2018
It's really helpful. I had been stuck in this error for a long long time until i saw this post. Thanks a lot!
Mikiyas Petros
on 7 Aug 2019
Thank you
Muhammad Iqbal
on 17 Dec 2019
Edited: Muhammad Iqbal
on 17 Dec 2019
thank you
Akash Reddy
on 24 Aug 2020
Thank You Sir.
Hunter Keating
on 6 Sep 2020
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....
Stephen23
on 15 Jan 2022
@Hunter Keating: the term "environment" is a standard term, it is not one that TMW invented:
emre
on 19 May 2023
thank you
Adrian
on 7 Jan 2026
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
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?

Adrian
on 8 Jan 2026
Hello!
No error, but no file folder are being loaded.
Image Analyst
on 8 Jan 2026
@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.
Accepted Answer
More Answers (3)
Azzi Abdelmalek
on 9 Jul 2014
Try to restore the default layout
desktop = com.mathworks.mde.desk.MLDesktop.getInstance;
desktop.restoreLayout('Default')
8 Comments
Tanu Goyal
on 29 Jul 2016
Thanks a lot
MarP
on 18 Jun 2018
That's what I needed, thank you!
Prasanna Kothalkar
on 11 Jul 2018
Thanks very much!
William GAO
on 6 Oct 2020
very useful!
FIRAS GHEDIRA
on 10 Nov 2020
thank you
Matteo Piunti
on 10 Jun 2021
Worked perfectly, thanks a lot
Kezban koç
on 15 Jan 2022
Thank you so much.
CARLOTTA GENCO
on 10 Oct 2023
thanks!!
Steven Lord
on 29 Jul 2016
6 votes
Use the Layout button in the Environment section of the Home tab on the toolstrip.
1 Comment
Chetan Bhagania
on 22 Sep 2017
It worked perfectly. Thanks a lot
Mohammed Ghouse Mohiuddin
on 3 Mar 2021
0 votes
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
Image Analyst
on 4 Mar 2021
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.
Categories
Find more on File Operations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!