Persistent Counters

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

您现在正在关注此提交

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.

引用格式

Jøger Hansegård (2026). Persistent Counters (https://ww2.mathworks.cn/matlabcentral/fileexchange/7483-persistent-counters), MATLAB Central File Exchange. 检索时间: .

类别

Help CenterMATLAB Answers 中查找有关 Startup and Shutdown 的更多信息

一般信息

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

  • Windows
  • macOS
  • Linux
版本 已发布 发行说明 Action
1.0.0.0