<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Le 05/03/2013 08:34, Carrico, Paul a
écrit :<br>
</div>
<blockquote
cite="mid:55A12CBC06A8C9459DCE0BBEF8122FDC08B7788A@exchsrv.auxitrol.ad"
type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<meta name="GENERATOR" content="MSHTML 8.00.6001.19400">
<font face="Arial" size="2"><span class="189262907-05032013">.../...<br>
After reading a text file (mgetl), removing the comments, I've
finally a matrix of string containing only numbers... what is
the fastest way to convert those string into reals (I don't
remember)?</span></font>
<div><font face="Arial" size="2"><span class="189262907-05032013">using
"eval" function is quite slow</span></font></div>
</blockquote>
<font size="2"><font face="Arial"><font size="2"><br>
I</font>n addition to solutions already provided, you may use<font
size="2"> <b>strtod()</b>. It is made for t<font size="2">h<font
size="2">at.<br>
</font></font></font></font></font><br>
</body>
</html>