AUTOSAVE

Automatically save variables from base workspace.

You are now following this Submission

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 (2026). AUTOSAVE (https://www.mathworks.com/matlabcentral/fileexchange/4688-autosave), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.1

Updated license

1.0.0.0