[scilab-Users] : Loading CSV Files

Lambrecht, Chris (STRT) Clambrecht at trak.com
Wed Dec 10 22:55:54 CET 2008


Eric,

 

Thanks. I was able to import my data.

 

Chris

 

________________________________

From: Eric Dubois [mailto:grocer.toolbox at gmail.com] 
Sent: Tuesday, December 09, 2008 4:39 PM
To: users at lists.scilab.org
Subject: Re: [scilab-Users] : Loading CSV Files

 

The function impexc2bd available in my toolbox with Emmanuel Michaux
grocer (http://dubois.ensae.net/grocer.html) works in such cases.

Eric. 

2008/12/8 Malcolm Northcott <mnorthcott at aoptix.com>

The function fscanfMat works very efficiently provided the data elements
are separated by spaces or tabs. If you have the more common comma
separation you are stuck (AFAIK) with iterating through the file one
element at a time.
This is effective, but excruciatingly slow.
If you are using Unix you can use the 'tr' command to change commas to
spaces, but that is not portable to Windows unless you have cygwin
installed.
               Mal.



-----Original Message-----
From: Lambrecht, Chris (STRT) [mailto:Clambrecht at trak.com]
Sent: Monday, December 08, 2008 1:45 PM
To: users at lists.scilab.org
Subject: [scilab-Users] : Loading CSV Files


I have data in a CSV (Comma Separated Value) format. I would like to
load this data into Scilab to manipulate. The load function that I found
only loads previous session variables. Is there another load function
that can load in raw data in a CSV format?

Chris Lambrecht

************************************************
The information contained in, or attached to, this e-mail, may contain
confidential information and is intended solely for the use of the
individual or entity to whom they are addressed and may be subject to
legal privilege.  If you have received this e-mail in error you should
notify the sender immediately by reply e-mail, delete the message from
your system and notify your system manager.  Please do not copy it for
any purpose, or disclose its contents to any other person.  The views or
opinions presented in this e-mail are solely those of the author and do
not necessarily represent those of the company.  The recipient should
check this e-mail and any attachments for the presence of viruses.  The
company accepts no liability for any damage caused, directly or
indirectly, by any virus transmitted in this email.
************************************************



______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________



 
************************************************
The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege.  If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager.  Please do not copy it for any purpose, or disclose its contents to any other person.  The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company.  The recipient should check this e-mail and any attachments for the presence of viruses.  The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email.
************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20081210/adac30b4/attachment.htm>


More information about the users mailing list