MATLAB File Help: sortann View code for sortann WFDB Contents

function varargout=sortann(varargin)


    Wrapper to WFDB SORTANN:

 Rewrites the annotation file specified by recName and annName, arranging its contents in 
 canonical (time, num, and chan) order. The sorted (output) annotation file is always written 
 to the current directory. If the input annotation file is in the current directory, SORTANN
 replaces it unless you specify a different output annotator name (using the outFile option). 
 If the input annotations are already in the correct order, no output is written unless you 
 have used the outFile option.  

Input Parameters:
       String specifying the WFDB record file.

       String specifying the reference WFDB annotation file.

 stopTime (Optional)
       String specifying the start time in WFDB format (default is beginning of

 stopTime (Optional)
       String specifying the stop time in WFDB format (default is end of

 outFile (Optional)
       String specifying the output annotation file name.

 Written by Ikaro Silva, 2013
 Last Modified: -
 Version 1.0
 Since 0.9.0

 %Example (this will generate a /mitdb/100.sortedATR file at your directory):


 See also RDANN