Hello Philipp, In this case I first attempt to read first (e.g. with “mopen” and “getl”) and then split the strings with “tokens” where the feature of multiple separators exists. Of course you can also use “cvsRead” with one separator and then use “tokens” to finish with the other separators. HTH Denis
[@@ THALES GROUP INTERNAL @@] Unité Mixte de Physique CNRS / THALES 1 Avenue Augustin Fresnel 91767 Palaiseau CEDEx - France Tel : +33 (0)1 69 41 58 52 Fax : +33 (0)1 69 41 58 78 e-mail : denis.cr...@thalesgroup.com<mailto:denis.cr...@thalesgroup.com> <mailto:%20denis.cr...@thalesgroup.com> http://www.trt.thalesgroup.com/ump-cnrs-thales http://www.research.thalesgroup.com De : users [mailto:users-boun...@lists.scilab.org] De la part de Philipp Mühlmann Envoyé : vendredi 14 octobre 2016 00:08 À : International users mailing list for Scilab. Objet : [Scilab-users] using csvRead 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 dd = day mm = month yyyy = year HH = hour MM = minute SS = second Ms = milli second ValueXY = numerical value Is it possible to use cvsRead in such a way to define the separator beeing ',' and ':' at the same time? Background: desired Matrix after reading the file is M = [dd mm yyyy HH MM SS MS value1 value2] Thank you, Philipp -- In Kanada is' ka' na' da. Sonst wär' Kanada Jemanda. There we have the salad.
_______________________________________________ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users