From 69feb754d028ca066f2bacd937b99adbd27fd25a Mon Sep 17 00:00:00 2001
From: Jacques Grelet <jacques.grelet@ird.fr>
Date: Sun, 3 Feb 2008 23:43:25 +0000
Subject: [PATCH] revert str2double to str2num

---
 tsg_io/private/decodeficlabview.m | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/tsg_io/private/decodeficlabview.m b/tsg_io/private/decodeficlabview.m
index 93e6d23..1579643 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
-- 
GitLab