MCD - My change directory

Very quickly switch to a recent or preferred directory - all from the command line.

Download
Download

You are now following this Submission

Cite As

Sky Sartorius (2026). MCD - My change directory (https://nl.mathworks.com/matlabcentral/fileexchange/44043-mcd-my-change-directory), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.4.0

Fixed help block; added ability to automatically add the path to the current file open in the editor to the list.

Download
1.3.0

Added ability to skip the menu/prompt and got straight to a location, e.g. "mcd 1"; added ability to have a color-striped menu.

Download
1.2.0

Split off list of preferred paths into a separate file so the primary function mcd.m file doesn't have to be touched by users.

Download
1.1.0

Updated to handle new location of recent directories.

Download
1.0.0

Download