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.
引用
Dennis (2024). safesave (https://www.mathworks.com/matlabcentral/fileexchange/34773-safesave), MATLAB Central File Exchange. 取得済み .
MATLAB リリースの互換性
作成:
R2009b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linuxカテゴリ
Help Center および MATLAB Answers で Workspace Variables and MAT-Files についてさらに検索
タグ
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!バージョン | 公開済み | リリース ノート | |
---|---|---|---|
1.0.0.0 |