setDir
Version 1.0.0 (2.78 KB) by
Aidan
Get the directory of the file, add folders, save path. Different from pwd, which returns working directory. setDir finds the directory.
Get the directory of the file, add folders, save path. Different from pwd, which returns working directory. setDir finds the directory of the file, sets it as the current director, and allows you to add all or selected subfolders, and save the directory.
Cite As
Aidan (2026). setDir (https://www.mathworks.com/matlabcentral/fileexchange/181201-setdir), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2024a
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0 |
