Changes Working Directory
You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
- 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 (2026). cwd (https://nl.mathworks.com/matlabcentral/fileexchange/106565-cwd), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0 (3.72 KB)
MATLAB Release Compatibility
- Compatible with R2018a and later releases
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0 |
