The function impexc2bd available in my toolbox with Emmanuel Michaux grocer (<a href="http://dubois.ensae.net/grocer.html">http://dubois.ensae.net/grocer.html</a>) works in such cases.<br><br>Eric. <br><br><div class="gmail_quote">
2008/12/8 Malcolm Northcott <span dir="ltr"><<a href="mailto:mnorthcott@aoptix.com">mnorthcott@aoptix.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
The function fscanfMat works very efficiently provided the data elements<br>
are separated by spaces or tabs. If you have the more common comma<br>
separation you are stuck (AFAIK) with iterating through the file one<br>
element at a time.<br>
This is effective, but excruciatingly slow.<br>
If you are using Unix you can use the 'tr' command to change commas to<br>
spaces, but that is not portable to Windows unless you have cygwin<br>
installed.<br>
Mal.<br>
<div><div></div><div class="Wj3C7c"><br>
<br>
-----Original Message-----<br>
From: Lambrecht, Chris (STRT) [mailto:<a href="mailto:Clambrecht@trak.com">Clambrecht@trak.com</a>]<br>
Sent: Monday, December 08, 2008 1:45 PM<br>
To: <a href="mailto:users@lists.scilab.org">users@lists.scilab.org</a><br>
Subject: [scilab-Users] : Loading CSV Files<br>
<br>
<br>
I have data in a CSV (Comma Separated Value) format. I would like to<br>
load this data into Scilab to manipulate. The load function that I found<br>
only loads previous session variables. Is there another load function<br>
that can load in raw data in a CSV format?<br>
<br>
Chris Lambrecht<br>
<br>
TRAK Microwave Corporation<br>
4726 Eisenhower Boulevard<br>
Tampa, FL 33634-6391<br>
(813) 901 - 7385<br>
<a href="mailto:clambrecht@trak.com">clambrecht@trak.com</a><br>
<br>
<br>
************************************************<br>
The information contained in, or attached to, this e-mail, may contain<br>
confidential information and is intended solely for the use of the<br>
individual or entity to whom they are addressed and may be subject to<br>
legal privilege. If you have received this e-mail in error you should<br>
notify the sender immediately by reply e-mail, delete the message from<br>
your system and notify your system manager. Please do not copy it for<br>
any purpose, or disclose its contents to any other person. The views or<br>
opinions presented in this e-mail are solely those of the author and do<br>
not necessarily represent those of the company. The recipient should<br>
check this e-mail and any attachments for the presence of viruses. The<br>
company accepts no liability for any damage caused, directly or<br>
indirectly, by any virus transmitted in this email.<br>
************************************************<br>
</div></div></blockquote></div><br>