[scilab-Users] : Loading CSV Files

Malcolm Northcott mnorthcott at aoptix.com
Mon Dec 8 23:11:32 CET 2008


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
 
TRAK Microwave Corporation
4726 Eisenhower Boulevard
Tampa, FL 33634-6391
(813) 901 - 7385
clambrecht at trak.com

 
************************************************
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.
************************************************



More information about the users mailing list