Scilab Home Page | Wiki | Bug Tracker | Forge | Mailing List Archives | Scilab Online Help | File Exchange
ATOMS : csv_readwrite details
Login with GitLab

csv_readwrite

Fast functions to read and write csv files
(13852 downloads for this version - 33162 downloads for all versions)
Details
Version
0.6.1
Authors
Allan CORNET
Michael Baudin
Owner Organization
Scilab - DIGITEO
Maintainer
Michael BAUDIN
Category
License
Creation Date
August 8, 2012
Source created on
Scilab 5.4.x
Binaries available on
Scilab 5.4.x:
Linux 32-bit Windows 32-bit Windows 64-bit macOS Linux 64-bit
Install command
--> atomsInstall("csv_readwrite")
Description
            Purpose
-------

The purpose of this module is to read and write 
Comma Separated Values (CSV) data files. 
The goal of this toolbox is to improve the flexibility, consistency and speed of

CSV reading and writing with respect to Scilab built-in 
write_csv and read_csv functions. 

On some large data files, we observed a 100x improvement of the 
speed.

Features
--------

 * csv_default : Get or set defaults for csv files.
 * csv_getToolboxPath: Returns the path to the current module.
 * csv_read: Read comma-separated value file
 * csv_stringtodouble: Convert a matrix of strings to a matrix of doubles.
 * csv_textscan: Read comma-separated value in a matrix of strings
 * csv_write: Write comma-separated value file
 * csv_isnum: tests if a string represents a number


To compare speed:

with optimized functions:
stacksize('max');
M = ones(1000, 1000);
tic();
csv_write(M, TMPDIR + "/csv_write_1.csv");
toc()

tic();
r = csv_read(TMPDIR + "/csv_write_1.csv")
toc()


with default scilab functions (be patient):
stacksize('max');
M = ones(1000, 1000);
tic();
write_csv(M, TMPDIR + "/csv_write_1.csv");
toc()

tic();
r = read_csv(TMPDIR + "/csv_write_1.csv")
toc()


csv_readwrite (0.6) - February 2012
    * This version requires Scilab 5.4.0
    * Factorized code with new code in Scilab.
    * Uses assert functions for tests.
    * Add also %pi, %inf, %nan as format for pi, inf and nan number.
    * Update demos with some benchs.
    * Add csv_isnum function x10 (or more) faster than isnum scilab function
    * Fixed ticket #637: module did not start in -NWNI mode
    * Fixed ticket #644: csv_read did not support empty fields
            
Files (6)
[543.74 kB]
Source code archive

[481.92 kB]
Linux 32-bit binary for Scilab 5.4.x
Linux 32-bit
Automatically generated by the ATOMS compilation chain

[617.02 kB]
Windows 32-bit binary for Scilab 5.4.x
Windows 32-bit
Automatically generated by the ATOMS compilation chain

[620.70 kB]
Windows 64-bit binary for Scilab 5.4.x
Windows 64-bit
Automatically generated by the ATOMS compilation chain

[474.61 kB]
macOS binary for Scilab 5.4.x
MacOSX version
Automatically generated by the ATOMS compilation chain

[485.14 kB]
Linux 64-bit binary for Scilab 5.4.x
Linux 64-bit
Automatically generated by the ATOMS compilation chain

News (0)
Comments (3)     Leave a comment 
Comment from Fernando Schimidt -- October 7, 2012, 07:38:18 PM    
How can I install this ZIP file? What is the destination directory?
Thanks for any help!
Comment from Fernando Schimidt -- October 7, 2012, 10:35:00 PM    
This comment has been deleted.
Comment from Alessandro Zaupa -- June 13, 2013, 10:02:12 AM    
Hi everyone,
I'm installing csv_readwrite_0.6.1-2 in scilab-master-1371050232 on a 64 bit Windows 7
computer.

I get this error message:

atomsLoad: An error occurred while loading 'csv_readwrite-0.6.1-2':
	link: The shared archive was not loaded: Unknown Error

Is there a way to resolve this problem?

Thanks in advance.

Alessandro

Leave a comment
You must register and log in before leaving a comment.
Login with GitLab
Email notifications
Send me email when this toolbox has changes, new files or a new release.
You must register and log in before setting up notifications.