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

14 Kommentare

Gautham Kini M
Gautham Kini M am 11 Feb. 2018
Bearbeitet: Image Analyst am 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
Leira Ruth Fulgueras am 25 Aug. 2018
Thank you!
quy nguyen the
quy nguyen the am 13 Okt. 2018
thanks
Thai Thieu Hong
Thai Thieu Hong am 24 Dez. 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
Mikiyas Petros am 7 Aug. 2019
Thank you
Muhammad Iqbal
Muhammad Iqbal am 17 Dez. 2019
Bearbeitet: Muhammad Iqbal am 17 Dez. 2019
thank you
Akash Reddy
Akash Reddy am 24 Aug. 2020
Thank You Sir.
Hunter Keating
Hunter Keating am 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
Stephen23 am 15 Jan. 2022
@Hunter Keating: the term "environment" is a standard term, it is not one that TMW invented:
emre
emre am 19 Mai 2023
thank you
Adrian
Adrian am 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
Image Analyst am 7 Jan. 2026
Bearbeitet: Image Analyst am 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
Adrian am 8 Jan. 2026
Hello!
No error, but no file folder are being loaded.
Image Analyst
Image Analyst am 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.

Melden Sie sich an, um zu kommentieren.

 Akzeptierte Antwort

Image Analyst
Image Analyst am 9 Jul. 2014

32 Stimmen

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

4 Kommentare

Fatima Al Marzoqi
Fatima Al Marzoqi am 9 Jul. 2014
It work, thank you
madhan ravi
madhan ravi am 13 Okt. 2018
thank you was searching for this for so long +1vote
Xolani Nobel Siwela
Xolani Nobel Siwela am 2 Mär. 2020
It works thank you.
Michail Anevlavis
Michail Anevlavis am 8 Okt. 2021
+1. It works thanks.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (3)

Azzi Abdelmalek
Azzi Abdelmalek am 9 Jul. 2014

17 Stimmen

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

8 Kommentare

Tanu Goyal
Tanu Goyal am 29 Jul. 2016
Thanks a lot
MarP
MarP am 18 Jun. 2018
That's what I needed, thank you!
Prasanna Kothalkar
Prasanna Kothalkar am 11 Jul. 2018
Thanks very much!
William GAO
William GAO am 6 Okt. 2020
very useful!
FIRAS GHEDIRA
FIRAS GHEDIRA am 10 Nov. 2020
thank you
Matteo Piunti
Matteo Piunti am 10 Jun. 2021
Worked perfectly, thanks a lot
Kezban koç
Kezban koç am 15 Jan. 2022
Thank you so much.
CARLOTTA GENCO
CARLOTTA GENCO am 10 Okt. 2023
thanks!!

Melden Sie sich an, um zu kommentieren.

Steven Lord
Steven Lord am 29 Jul. 2016

6 Stimmen

Use the Layout button in the Environment section of the Home tab on the toolstrip.
Mohammed Ghouse Mohiuddin
Mohammed Ghouse Mohiuddin am 3 Mär. 2021

0 Stimmen

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 Kommentar

Image Analyst
Image Analyst am 4 Mär. 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.

Melden Sie sich an, um zu kommentieren.

Kategorien

Community Treasure Hunt

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

Start Hunting!

Translated by