Hello,
> De : users [mailto:users-boun...@lists.scilab.org] De la part de Florian
> Winter
> Envoyé : lundi 23 mai 2016 23:15
>
> It is a rather large file so I wanted to use the csvread function
> [...]
> It looks like this:
>
> 1 2 3 4 5 6 7 8
You can try:
a = csvRead("foo.csv", " ")
Florian,
If you have Perl available, you could regularise the file with the following
one-liner:
perl -nle "print join ' ', split ' '" out.file
(You'll need to switch 's to "s and vice versa if you're on *nix.)
(Despite the way that looks, the split ' ' will habdle any number of
intervening
Le 23/05/2016 23:15, Florian Winter a écrit :
Hello
I'm trying to write a function that reads data from a single file. It
is a rather large file so I wanted to use the csvread function because
it is faster than opening the file and then using scanf.
I am surprised by the fact csvread is faster
Hi,
Just letting you know I've updated the bugracker with a work-around.
http://bugzilla.scilab.org/show_bug.cgi?id=14182
Thanks,
--
Dr Ricardo Fabbri
Professor of Computer Engineering
GNU/Linux registered user #175401
www.lems.brown.edu/~rfabbri
pt.wikipedia.org/wiki/IPRJ
labmacambira.sf.net