<div dir="ltr"><div><div><div><div><div><div><div><div>Hello all,<br><br></div>I currently have some text files and I would like to extract information from them using Scilab.<br>I have done this before, using mopen and mgetl, for example.<br>

<br></div>Don't know why, but strangely in this case it is not working. I am using Scilab 5.4.1 on Ubuntu (but Scilab 5.4.0 under Windows produced the same result).<br><br></div>Please check the attached text file.<br>

<br></div>Simple code such as:<br><br>fd=mopen('scilab_example.txt','r')<br></div>phrase=mgetl(fd,1)<br><br></div>Produces:<br><br></div>phrase=ÿp<br><br></div>If i still try to use mgetl, next lines are always returned as empty.<br>

<br>Does anybody have any clue on whats happening?<br><br>Best regards,<br clear="all"><div><div><div><div><div><div><div><div><div><div><br>-- <br>Eduardo Torrecillas<br>AER-09
</div></div></div></div></div></div></div></div></div></div></div>