You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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 (2026). cdtofile (https://au.mathworks.com/matlabcentral/fileexchange/59544-cdtofile), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0.0 (379 Bytes)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 | Updated title |
