backup
This is a wrapper to the XCOPY commnand, with the four different modes:
prune -updates backup dir and delete files on the back up dir that do not exist on the original dir.
find -find unique files in backup dir
arch -set archive attb. to ON for files on the original dir that do not exist on the backup dir.
sync -updates BOTH directories with the newest files from EITHER directory.
Options that can be set for the XCOPY command are listed at and on the help for this function:
Cite As
Ikaro Silva (2026). backup (https://www.mathworks.com/matlabcentral/fileexchange/20635-backup), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 | file was not fully uploaded with the last update |
