MATLAB Answers

The current folder window

435 views (last 30 days)
I closed the "Current Folder" window by mistake.
How can I re-display it?
  8 Comments
Hunter Keating
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....

Sign in to comment.

Accepted Answer

Image Analyst
Image Analyst on 9 Jul 2014
Type filebrowser either in the command window, or in your code.
  3 Comments
Xolani Nobel Siwela
Xolani Nobel Siwela on 2 Mar 2020
It works thank you.

Sign in to comment.

More Answers (4)

Azzi Abdelmalek
Azzi Abdelmalek on 9 Jul 2014
Try to restore the default layout
desktop = com.mathworks.mde.desk.MLDesktop.getInstance;
desktop.restoreLayout('Default')
  6 Comments
Matteo Piunti
Matteo Piunti on 10 Jun 2021
Worked perfectly, thanks a lot

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.
  1 Comment
Chetan Bhagania
Chetan Bhagania on 22 Sep 2017
It worked perfectly. Thanks a lot

Sign in to comment.



Mohammed Ghouse Mohiuddin
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
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.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!