AUTOSAVE

Automatically save variables from base workspace.
2.4K Downloads
Updated 1 Sep 2016

View License

AUTOSAVE uses a timer object to periodically save the variables from the base workspace into a MAT-file. By default, data is saved every 10 minutes into matlab.mat.
User definable options include period (in minutes), the MAT-file name, and a pattern that will be passed to the SAVE command. Can also use

autosave start
autosave stop
autosave delete

to start autosaving (timer is created if one doesn't already exist), stop autosaving (timer still exists, so it can be restarted), and delete the timer object and the autosave file.

Cite As

Steve Simon (2024). AUTOSAVE (https://www.mathworks.com/matlabcentral/fileexchange/4688-autosave), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R13
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Workspace Variables and MAT-Files in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.1

Updated license

1.0.0.0