Timed autosave

Periodically saves the contents of the workspace to a mat file.

Vous suivez désormais cette soumission

AUTOSAVE Periodically save the contents of the workspace to a file.
AUTOSAVE(FILENAME, PERIOD) saves the contents of the base workspace to the file FILENAME every PERIOD seconds. If PERIOD is omitted, it defaults to 60 seconds.If FILENAME is omitted, it defaults to autosave.mat.

It is possible to specify which variables to save. To do this create a
cell array in the base workspace with the name 'autosavelist'. Each
cell should be a string containing the name of the variable to be
saved. Example: 'autosavelist = {'var1', 'var2'};'.

To stop the autosaver, use the command:

autosave -quit

See also TIMER, SAVE.

Citation pour cette source

David Tarkowski (2026). Timed autosave (https://fr.mathworks.com/matlabcentral/fileexchange/2981-timed-autosave), MATLAB Central File Exchange. Extrait(e) le .

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec toutes les versions

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version Action
1.0.0.1

Updated license

1.0.0.0