% Reads USBL log data

function	...
[		...
  time,		...
  gpsTime,	...
  gpsLat,	...
  gpsLong,	...
  usblHPR,	...
  usblHeading,	...
  usblPitch,	...
  usblRoll,	...
  depth,	...
  positionLat,	...
  positionLong, ...
  altitude,	...
  compass,	...
  pitch,	...
  roll,		...
  dvl1,		...
  dvl2,		...
  dvl3,		...
  dvlValid,	...
  timeCodeString,...
  year,		...
  day,		...
  timeString,	...
  timeZone	...
] = readDVLData(filename)

%
% Set up the number of lines to be skipped before starting to read,
% and then the total number of lines to read.
%
  nSkip = 0;
  nLines=-1;
  
[		...
  time,		...
  gpsTime,	...
  gpsLat,	...
  gpsLong,	...
  usblHPR,	...
  usblHeading,	...
  usblPitch,	...
  usblRoll,	...
  depth,	...
  positionLat,	...
  positionLong, ...
  altitude,	...
  compass,	...
  pitch,	...
  roll,		...
  dvl1,		...
  dvl2,		...
  dvl3,		...
  dvlValid,	...
  timeCodeString,...
  year,		...
  day,		...
  timeString,	...
  timeZone	...
] = textread(filename, ... 
'%d %d %f %f %s %f %f %f %f %f %f %f %f %f %f %f %f %f %d %s %d %d %s %d',...
	     nLines, ...
             'delimiter', ',','commentstyle','shell',...
	     'headerlines',nSkip);






%'%d %d %f %f %d %f %f %f %d %f %f %f %f %f %f %f %f %f %d %s %d %d %s %d', ...
%             'delimiter', ',','commentstyle','shell');



