[Scilab-users] using csvRead

Samuel Gougeon sgougeon at free.fr
Sat Oct 15 17:46:03 CEST 2016


Le 14/10/2016 00:08, Philipp Mühlmann a écrit :
> Dear Scilab users,
>
> having a data file (*.cvs) containg following format:
>
> HEADER-Line
> dd.mm.yyyy, HH:MM:SS.MS <http://SS.MS>, value01, value02
>
> .../...
> Is it possible to use cvsRead in such a way to define the separator 
> beeing ',' and ':' at the same time?
>
> desired Matrix after reading the file is
>
> M = [dd mm yyyy HH MM SS MS value1 value2]
.
This requires also that "." to be considered as a separator to split 
dd.mm.yyyy, in addition to "," and ":".
Then, the SS.MS will yield 2 separate fields.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20161015/6e955405/attachment.htm>


More information about the users mailing list