MATLAB Answers

Is there any shortcut for go back to previous folder?

185 views (last 30 days)
wei zhang
wei zhang on 23 May 2020
Answered: soon kiat on 29 May 2020
Sometimes I need to navigate among some folders. I need the "go back" in a convenient way, like "cd -". But, this is not supported in Matlab. Is there any way to achieve this? If not, a keyboard shortcut to pop up the recent directory list is OK,too.
Thank you very much.

  8 Comments

Show 5 older comments
wei zhang
wei zhang on 26 May 2020
Very helpful. Especially the latent code for the blue arrows and the icon for "the file name tab list". I would like to try.
wei zhang
wei zhang on 26 May 2020
Embarrassed, I am not familiar with Java script. Navigating among the Java script is hard and frustrating. For me, I prefer to make an own hotkey with Autohotkey for Matlab, by faking a click button on the blue arrow or "file name tab". And wating for updates of Matlab. Thank you for your kindhearted advice. @per isakson (why I can't quote your name)

Sign in to comment.

Accepted Answer

Cris LaPierre
Cris LaPierre on 24 May 2020
There is a Back button in the Current Folder toolbox. That takes be back to the folder that was previously the current folder. Does that help or are you specifically looking for a keyboard shortcut?

  1 Comment

wei zhang
wei zhang on 25 May 2020
Thank you for your advice. I need this. And I am just curious about why Matlab doesn't support "cd - ". It has "cd .././~" yet. Sometimes I was too lazy to move my mouse than keyboard commands, haha.

Sign in to comment.

More Answers (1)

soon kiat
soon kiat on 29 May 2020
cd ..
can also help to go back to previous folder

  0 Comments

Sign in to comment.

Tags

Products


Release

R2019a

Community Treasure Hunt

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

Start Hunting!