[Index for beat] [Return to Master Index]

loadacq

(beat/loadacq.m)


Function Synopsis

[data, Fs, chanLabel, chanUnits, numChans, numSamples, fullName] = loadacq (dataArch, fullName)

Help text

 LOADACQ   Load an Acqknowledge format file of analog data
   [DATA, FS, CHANLABEL, CHANUNITS, NUMCHANS, NUMSAMPLES, FULLNAME] = LOADACQ 
   prompts the user for the name of a data acquisition file to load.  It 
   returns the data in the matrix DATA (one column per channel).  

   FS is the rate at which data were sampled, CHANLABEL is a (text) label for
   the channel, CHANUNITS is text for the units being measured on that 
   channel (e.g., 'Volts'), NUMCHANS is the total number of channels, 
   NUMSAMPLES is the number of samples per channel. 
   FULLNAME is the path- and filename of the opened file.

   LOADACQ (DATA_ARCH) performs the same function, but allows the user
   to specify the architecture of the machine on which the data were 
   collected (i.e., big- or little-endian).  If not specified, defaults
   to big-endian (Mac).

   LOADACQ (DATA_ARCH, FILENAME) loads data from the file FILENAME (note: it is
   assumed that the path is contained in the filename).

Produced by mat2html on Wed Jun 20 12:12:51 2001
Cross-Directory links are: OFF