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
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.
Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.