SCPTEST checks files for SCP-ECG dataformat. scptest(p) checks recursively all files in the subdirectory p scptest(f) checks file f fid = fopen('logfile.log','w'); scptest(p,fid) redirects output into logfile with open handle fid. see also: SOPEN, SCLOSE, SCPOPEN References: [1] The OpenECG project: http://www.openecg.org/