set_taxis

Function readqinsy

  Read or scan Qinsy datafile using mex-file
  
  

CALL:

   locs = readqinsy(fname)          (scan file)
   locs = readqinsy(fname, locs)    (read file)
    
  

INPUT:

   fname: String, name of quinsy file. If this is the only input argument, 
          the output argument will only contain the header data.
   locs:  Struct array, this value must be equal to or a subset of the 
          output of an earlier call to readqinsy. It tells the function 
          which data to retrieve from file. 
    
  

OUTPUT:

   locs:  Struct array with 1 record per location:
          +----sLoccod (char array)
          +----marker (double)
          +----aantal (double)
          +----lBegdat (double)
          +----iBegtyd (double)
          +----lEnddat (double)
          +----iEndtyd (double)
          +----xy (double)
          +----z (double)
          
          If "readqinsy" was called with 1 argument only the header data
          will be nonempty (sLoccod, marker and aantal). 
  
          If called with 2 input arguments also the remaining (data) fields
          are returned nonempty.  
  
  

EXAMPLE:

   locs = readqinsy(fname);
   data = readqinsy(fname,locs(2:2:end));

See also:

readrwslod