This little function allows you to save your data to a mat-file without worrying about accidentally overwriting a previous mat file by the same name. If a mat-file by the specified name (e.g. 'example.mat') already exists, this file is backed-up as e.g. 'example_backup_000.mat' before overwriting 'example.mat'. Every time another overwrite is attempted, the backup counter is incremented.
Citation pour cette source
Dennis (2024). safesave (https://www.mathworks.com/matlabcentral/fileexchange/34773-safesave), MATLAB Central File Exchange. Récupéré le .
Compatibilité avec les versions de MATLAB
Créé avec
R2009b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS LinuxCatégories
En savoir plus sur Workspace Variables and MAT-Files dans Help Center et MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.0.0 |