<< edf_close utility functions edf_gender_str2scalar >>

edflib - Toolbox for reading and writing edf/ bdf files >> utility functions > edf_find_signalid

edf_find_signalid

Searches all available signals for a given label and returns the signal id

Calling Sequence

[signal_ID]=edf_find_signalid(filename,label)
[signal_ID]=edf_find_signalid(edf_header,label)

Parameters

filename_read:

string containing the path and name of the file from which the header should be copied

edf_header:

struct with header information from edfopen_file_readonly

label:

Name of the label from which the signal id should be returned

signal_ID:

signal ID with desired label. is 0 when the label does not exists.

Description

Searches all available signals for a given label and returns the signal id.

The output is 0, when the label does not exists.

Examples

[signal_ID]=edf_find_signalid(edf_getpath()+'/demos/demo.bdf',"sine")
[signal_ID]=edf_find_signalid(edf_getpath()+'/demos/demo.bdf',"sine2")

Authors


Report an issue
<< edf_close utility functions edf_gender_str2scalar >>