edf_blockwrite_samples — Writes physical samples (uV, mA, Ohm). One block equals one second.
[edf_handle]=edf_blockwrite_samples(edf_handle, data_vec)
Writes physical samples (uV, mA, Ohm). data_vec must be filled with samples from all signals, starting with n samples of signal 0, n samples of signal 1, n samples of signal 2, etc. where n is the samplefrequency of the signal. One block equals one second. The physical samples will be converted to digital samples using the values of physical maximum, physical minimum, digital maximum and digital minimum. The total number of samples written is equal to the sum of the samplefrequencies of all signals. Size of data_vec should be equal to or bigger than the sum of the samplefrequencies of all signals.
edf_handle is the file handle of the opened edf/bdf-file.
data_vec data vector belonging to all signals. One block equals one second.
If the samplefrequency of all signals is equal, then data_vec could be a matrix, with number of rows equal to the samplefrequency and number of colums equal to the number of signals.