Enhanced Change Directory (ecd)

Change to a directory, creating it if needed.
29 Downloads
Updated 5 Feb 2016

View License

ecd can be used exactly as the built-in cd function. If the desired directory does not exist, the function will create it and switch as normal. Calling ecd with no argument simply calls the built-in cd and returns the current directory.
This function must be added to the MATLAB path in order to be used.

Cite As

David Guglielmo (2024). Enhanced Change Directory (ecd) (https://www.mathworks.com/matlabcentral/fileexchange/55273-enhanced-change-directory-ecd), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14SP3
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Search Path in Help Center and MATLAB Answers
Tags Add Tags
cd

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0