- Searches files/folders on the Matlab path and the history of last working directories.
- If the file was found, path is changed.
- Can be called iteratively, to jump to next found path.
Usage Example:
cwd spy -edit
cwd plot
cwd plot
This function is part of the TTEST unit test framework, but also should work stand alone. If it does not work, please do not immediately rate it with one star, but post me the error message and I will fix it. After some days you still can rate it down.
Cite As
tommsch (2024). cwd (https://www.mathworks.com/matlabcentral/fileexchange/106565-cwd), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2020a
Compatible with R2018a and later releases
Platform Compatibility
Windows macOS LinuxTags
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.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0 |