Detecting and Quantifying T-Wave Alternans: The PhysioNet/Computing in Cardiology Challenge 2008 1.0.0

File: <base>/sources/Simoliuniene/TWA_HeaderRead.m (270 bytes)
if recnr < 10
    HeaName=['twa0' num2str(recnr) '.hea'];
else
    HeaName=['twa' num2str(recnr) '.hea'];
end;
fidh = fopen(HeaName, 'r');
header = textscan(fidh,'%s',1);
Nro = textscan(fidh,'%n',1);
NrofLead=Nro{1,1};
fclose(fidh);
clear header;
clear Nro;