version (379 Bytes) by Aurelien Queffurust
Change Current Folder to ...


Updated 7 Oct 2016

View License

Let's say you have one or several M-file opened in the MATLAB Editor
Executing this code will change your current folder in the folder where
the active M-file is located
This very small script is very useful as a MATLAB shortcut

Cite As

Aurelien Queffurust (2022). cdtofile (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2016b
Compatible with any release
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!