Please note that the recommended version of Scilab is 6.0.0. This page might be outdated.
See the recommended documentation of this function
Read comma-separated value file
M = read_csv(fname [,sep])
a character string. The file path.
a character string. Field separator used, default value is ",".
ascii(9) or "\t" for a tabulation separator are accepted.
a matrix of strings.
Given an ascii file with delimited fields, for instance created by a spreadsheet using "Text and comma" format, read_csv(fname) returns the corresponding Scilab matrix of strings. Use read_csv(fname,sep) for another choice of separator.
Note: You may eval all or part of M using function evstr in order to convert string variables into numeric variables.
- Allan CORNET