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.
Zitieren als
Dennis (2024). safesave (https://www.mathworks.com/matlabcentral/fileexchange/34773-safesave), MATLAB Central File Exchange. Abgerufen .
Kompatibilität der MATLAB-Version
Erstellt mit
R2009b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS LinuxKategorien
Mehr zu Workspace Variables and MAT-Files finden Sie in Help Center und MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.0.0 |