Home > biosig > t200 > sload.m

sload

PURPOSE ^

SLOAD loads signal data of various data formats

SYNOPSIS ^

function [signal,H] = sload(FILENAME,varargin)

DESCRIPTION ^

 SLOAD loads signal data of various data formats
 [signal,header] = sload(FILENAME)
 [signal,header] = sload(FILENAME,CHAN)
       read selected channels in list CHAN
       CHAN=0 [default], reads all channels

 [signal,header] = sload(dir('f*.emg') ... )
 [signal,header] = sload('f*.emg' ...)
      loads all files 'f*.emg'

 [signal,header] = sload(..., PropertyName1,PropertyValue1,...)
      PropertyName(s)        PropertyValue
    'UCAL'            -        data uncalibrated (not scaled)
    'OVERFLOWDETECTION'    'On'        [default] 
                'Off'        no overflow detection 
    'OUTPUT'        'single'    single precision data [default: 'double'] 
    'NUMBER_OF_NAN_IN_BREAK'   N        inserts N NaN's between two concatanated segments
                        default: N=100
    'SampleRate'        Fs        target sampling rate (supports resampling)
    'EOG_CORRECTION'    'On'        uses two-channel regression analysis - if possible 
                'Off'        no correction of EOG artifacts [default]
    
 The list of supported formats is available here: 
 http://pub.ist.ac.at/~schloegl/biosig/TESTED

    SLOAD loads all the data (of the selected channels)
    at once. In case of large data files, This can be 
    a problem. Instead, You can use 
       HDR = sopen(FILENAME,'r');
       [s,HDR]=sread(HDR,duration_segment1); 
       [s,HDR]=sread(HDR,duration_segment2); 
       ....
       [s,HDR]=sread(HDR,duration_segmentM); 
       HDR = sclose(HDR); 

 see also: SVIEW, SOPEN, SREAD, SCLOSE, SAVE2BKR, TLOAD

 In order to increase the speed, install mexSLOAD.mex from biosig4c++

 Reference(s):

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 22-May-2009 15:13:00 by m2html © 2003