You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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 (2026). Cool CD (Change Directory) (https://au.mathworks.com/matlabcentral/fileexchange/5959-cool-cd-change-directory), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired: Change Directory (cd) Overload
General Information
- Version 1.0.0.1 (2.57 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
