Debian Codegraph @

biosig4c++/mex/mexSLOAD.m

raw
1 % mexSLOAD.m can load many different biosig data formats
2 %
3 % Usage of mexSLOAD:
4 % [s,HDR]=mexSLOAD(f)
5 % [s,HDR]=mexSLOAD(f,chan)
6 % chan must be sorted in ascending order
7 % [s,HDR]=mexSLOAD(f,chan,'...')
8 % [s,HDR]=mexSLOAD(f,chan,'OVERFLOWDETECTION:ON')
9 % [s,HDR]=mexSLOAD(f,chan,'OVERFLOWDETECTION:OFF')
10 % [s,HDR]=mexSLOAD(f,chan,'UCAL:ON')
11 % [s,HDR]=mexSLOAD(f,chan,'UCAL:OFF')
12 % [s,HDR]=mexSLOAD(f,chan,'OUTPUT:SINGLE')
13 % [s,HDR]=mexSLOAD(f,chan,'TARGETSEGMENT:<N>')
14 % [s,HDR]=mexSLOAD(f,chan,'SWEEP',[NE, NG, NS])
15 % [s,HDR]=mexSLOAD(f,chan,'--free-text-event-limiter',';')
16 % Input:
17 % f filename
18 % chan list of selected channels; 0=all channels [default]
19 % UCAL ON: do not calibrate data; default=OFF
20 % OVERFLOWDETECTION default = ON
21 % ON: values outside dynamic range are not-a-number (NaN)
22 % TARGETSEGMENT:<N>
23 % select segment <N> in multisegment files (like Nihon-Khoden), default=1
24 % It has no effect for other data formats.
25 % [NE, NG, NS] are the number of the experiment, the series and the sweep, resp. for sweep selection in HEKA/PatchMaster files. (0 indicates all)
26 % examples: [1,2,3] the 3rd sweep from the 2nd series of experiment 1; [1,3,0] selects all sweeps from experiment=1, series=3.
27 %
28 % '--free-text-event-limiter',';' : free text limited by first ";", remainder is ignored.
29 % This can help to reduce the number of distinct free text events.
30 %
31 % Output:
32 % s signal data, each column is one channel
33 % HDR header structure
34 %
35