Usage: | A = WFDB_Anninfo(N); | |
Input: | N: number of Anninfo structures to be created (number of annotation files to be opened) | |
Output: | S: Anninfo structure(s) |
Use this function to create Anninfo structures to be passed as input to WFDB_annopen. Anninfo structures have two fields:
name | string | annotator name; defaults set by WFDB_Anninfo are a0, a1, .... | |
stat | string | input/output indicator (either `WFDB_READ' or `WFDB_WRITE'); default is `WFDB_READ' |
The annotator name identifies a set of annotations; usually the name is that of the creator of the annotations, either a program or a person. The annotator name is the suffix of the annotation file's name; for example, the annotation file 100s.atr is a set of annotations for record 100s, with the annotator name `atr'. The application may change the name to any string containing letters, numerals, and the `_' (underscore) character. Avoid names that are used as a suffix for another file type. The application should change the stat string for any output annotators to `WFDB_WRITE'. Any changes must be made before invoking WFDB_annopen; later changes have no effect.