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.
引用格式
Aidan (2026). setDir (https://ww2.mathworks.cn/matlabcentral/fileexchange/181201-setdir), MATLAB Central File Exchange. 检索时间: .
| 版本 | 已发布 | 发行说明 | Action |
|---|---|---|---|
| 1.0.0 |
