Version 1.0.0 (3.72 KB) by tommsch
Changes Working Directory
Updated 10 Feb 2022

View License

  • 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 (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2020a
Compatible with R2018a and later releases
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!

Version Published Release Notes