No BSD License  

Highlights from
Persistent Counters

Be the first to rate this file! 2 Downloads (last 30 days) File Size: 5.52 KB File ID: #7483

Persistent Counters

by Jøger Hansegård

 

19 Apr 2005 (Updated 21 Apr 2005)

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

| Watch this File

File Information
Description

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.

MATLAB release MATLAB 7.0.1 (R14SP1)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
persistent counter Jøger Hansegård 22 Oct 2008 07:46:22
create Jøger Hansegård 22 Oct 2008 07:46:22
integer Jøger Hansegård 22 Oct 2008 07:46:22
utilities Jøger Hansegård 22 Oct 2008 07:46:22
miscellaneous Jøger Hansegård 22 Oct 2008 07:46:22

Contact us at files@mathworks.com