diff --git a/tsg_io/private/decodeficlabview.m b/tsg_io/private/decodeficlabview.m index 93e6d23fde03f93bc23207151f5cf102e29790d0..1579643d39d30b483f6453faf38b2808bf4394f3 100644 --- a/tsg_io/private/decodeficlabview.m +++ b/tsg_io/private/decodeficlabview.m @@ -99,7 +99,7 @@ function [date, time, lat, lon, sst, sss, cond, condRaw, sog, cog] =... if ColNo.Lat ~=0 % Test si latitude en degre decimal ou degre minute % -------------------------------------------------- - lat = str2double( char(data{ColNo.Lat}{ient}) ); + lat = str2num( char(data{ColNo.Lat}{ient}) ); % lat est vide si les latitudes sont en degres minutes. % Conversion en degre decimal @@ -111,7 +111,7 @@ function [date, time, lat, lon, sst, sss, cond, condRaw, sog, cog] =... end if ColNo.Lon ~= 0 - lon = str2double( char(data{ColNo.Lon}{ient}) ); + lon = str2num( char(data{ColNo.Lon}{ient}) ); % lon est vide si les latitudes sont en degres minutes. % Conversion en degre decimal @@ -122,20 +122,20 @@ function [date, time, lat, lon, sst, sss, cond, condRaw, sog, cog] =... end if ColNo.Temp ~= 0 - sst = str2double( char(data{ColNo.Temp}{ient}) ); + sst = str2num( char(data{ColNo.Temp}{ient}) ); end if ColNo.Sal ~= 0 - sss = str2double( char(data{ColNo.Sal}{ient}) ); + sss = str2num( char(data{ColNo.Sal}{ient}) ); end if ColNo.Cond ~= 0 - cond = str2double( char(data{ColNo.Cond}{ient}) ); + cond = str2num( char(data{ColNo.Cond}{ient}) ); end if ColNo.Raw ~= 0 condRaw = char( data{ColNo.Raw}{ient} ); end if ColNo.Sog ~= 0 - sog = str2double( char(data{ColNo.Sog}{ient}) ); + sog = str2num( char(data{ColNo.Sog}{ient}) ); end if ColNo.Cog ~= 0 - cog = str2double( char(data{ColNo.Cog}{ient}) ); + cog = str2num( char(data{ColNo.Cog}{ient}) ); end \ No newline at end of file