<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hello David,<br>
<br>
I'm not an expert but I had to read those kind of files...<br>
<blockquote
 cite="mid:F5BEC4BE8E15C74A8378EE7BAACB257303FD7256@TOKYO.intra.cea.fr"
 type="cite">
  <div><font face="Arial" size="2"><span class="472361210-08072010">fscanfMat
fails while reading first non real element (date typically).</span></font></div>
</blockquote>
fscanfMat reads data written by fprintfMat... The hard part in your
data is that it mixes text and numbers. <br>
<blockquote
 cite="mid:F5BEC4BE8E15C74A8378EE7BAACB257303FD7256@TOKYO.intra.cea.fr"
 type="cite">
  <div><font face="Arial" size="2"><span class="472361210-08072010">Using
formatted input fonctions like mfscanf or mgetl and msscanf combination
could be automated to adapt to different number of numerical series :
has anyone already written something like,that can be shared ?</span></font></div>
</blockquote>
In your case you can:<br>
1) read the number of data per line (on the first line)<br>
2) create a format string using the right number of '%e'<br>
3) use mfscanf with -1 iterations<br>
<br>
The hard part is that you don't how many matrices mfscanf will return
so you have to use the form L=mfscanf(-1, fd, format) and then
reextract your data as a matrix.<br>
<br>
Have a look at the attached files. I have tested it with the data you
sent and a data set with 7 columns. It works.<br>
<br>
HTH,<br>
Mathieu<br>
</body>
</html>