<< edf_get_patient_info Functions for reading files edf_get_patientname >>

edflib - Toolbox for reading and writing edf/ bdf files >> Functions for reading files > edf_get_patientcode

edf_get_patientcode

Returns the patientcode.

Calling Sequence

patientcode=edf_get_patientcode(path)
patientcode=edf_get_patientcode(edf_header)

Parameters

path:

string containing the path and name of the file

edf_header:

plist with header information from edfopen_file_readonly

patientcode:

string

Description

Returns the patientcode.

Examples

patientcode=edf_get_patientcode(edf_getpath()+'/demos/demo.bdf');

[header_list]=edfopen_file_readonly(edf_getpath()+'/demos/demo.bdf', 0);
patientcode=edf_get_patientcode(header_list);
edf_close(header_list.handle);

Authors


Report an issue
<< edf_get_patient_info Functions for reading files edf_get_patientname >>