You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
USAGE
create_folder(newdir)
Folder "newdir" will be created.
If there is already a folder named "newdir" with any file regardless of the level, it will be renamed to "newdir-backup" (or "newdir-backup02",
"newdir-backup03", ...).
If "newdir" is empty or contains only folders, nothing is done.
Cite As
Guilherme Coco Beltramini (2026). Create folder and rename if another has the same name (https://se.mathworks.com/matlabcentral/fileexchange/41944-create-folder-and-rename-if-another-has-the-same-name), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired by: Wait until function, class, directory, file or variable exists
General Information
- Version 1.0.0.0 (2.91 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
