Persistent Counters

Create counters that keep their values even if your functions are interrupted for some reason.

Vous suivez désormais cette soumission

The intention of the persistent counter functions is to create integer counters that are persistent even if your function is interrupted in any way, or if you want to contine a computation after restarting MATLAB. They are nice when you have large computations within a loop which has to be interrupted.

It can for example be used if you are processing a large number of files, and need to keep track of which files that have been completed, so the job can be continued at a later stage.

Citation pour cette source

Jøger Hansegård (2026). Persistent Counters (https://fr.mathworks.com/matlabcentral/fileexchange/7483-persistent-counters), MATLAB Central File Exchange. Extrait(e) le .

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et MATLAB Answers

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.0