Cool CD (Change Directory)
This is a very simple tool to maintain a stack of directories that you want to move between. It works just like "CD", except when you use "CCD" it adds the current directory (the one you are moving OUT OF) to the top of your directory stack.
You can quickly change back to any of the directories in your stack, add new ones, or clear the stack. Also, just typing "CCD" (with no arguments) will toggle through the stack of directories. This is especially nice if you just need to bounce back and forth between 2 directories.
The usage is well documented in the function's "help" section.
Cite As
Brendan (2024). Cool CD (Change Directory) (https://www.mathworks.com/matlabcentral/fileexchange/5959-cool-cd-change-directory), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired: Change Directory (cd) Overload
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.