<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16640" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2><SPAN 
class=243403209-10062008>Hello,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=243403209-10062008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=243403209-10062008>I am brandnew to 
Scilab, although I have extensive experience in Matlab it is a bit of struggle 
in the beginning now. My problem is dat ik have to read in a mixed ascii file 
which consists of a line with a header followed by a two column data, blank 
line, header, data, etc, etc.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=243403209-10062008>I read the header 
line into a string using mgetl and the data is read into a matrix using 
mfscanf.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=243403209-10062008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=243403209-10062008>The problem is that 
I need the information in the header which is now in a string. The string 
is something like: 'fldr=1 trcf=139 dt=1000' but much longer. Note that there is 
no space between the values and the keywords and that the keywords are seperated 
by blank space. </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=243403209-10062008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=243403209-10062008></SPAN></FONT><FONT 
face=Arial size=2><SPAN class=243403209-10062008>I would like to put 
certain values - for example the value asscociated with the keyword 
fldr field (1) - in an integer vector. Any ideas how to proceed and whether if 
there is a smart way to do it? </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=243403209-10062008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=243403209-10062008>Cheers and thank 
you,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=243403209-10062008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=243403209-10062008>Francis</SPAN></FONT></DIV></FONT></DIV>
<DIV> </DIV>This email and any files contained therein is confidential and may contain privileged information.  If you are not the named addressee(s) or you have otherwise received this in error, you should not distribute or copy this e-mail or use any of its content for any purpose. Please notify the sender immediately by e-mail if you have received this e-mail in error and delete it from your system
</BODY></HTML>