[Scilab-users] CsvRead function

Jan Åge Langeland j-lan at online.no
Wed May 13 11:58:20 CEST 2020


One thing I find is that csvRead does not seem to extract data correctly 
in 6.1.0 with "  " (double space) as separator.

test4.csv 11   2   3   4
11   21   3   41

6.1.0

csvRead("test4.csv","  ")
  ans  =

    Nan   Nan   Nan   4.
    Nan   Nan   Nan   41.

6.0.2

  csvRead("test4.csv","  ")
  ans  =

    11.   2.    3.   4.
    11.   21.   3.   41.

Jan

On 2020-05-13 10:46 AM, Daniel Stringari wrote:
> Good Morning,
>
> I'll post snippets of the code in question. Thanks for the effort Jan, the
> detail is that no matter how much the file exists when the code is run, the
> same file is deleted at the beginning by the MDELETE function, afterwards
> the code itself tries to create it again. This happens because this code
> aims to extract data from a specific software and that is why I ended up not
> sending the whole code at the beginning, considering that you would not be
> able to run it without some repairs.
>
> Daniel.
>
> https://drive.google.com/open?id=1TFWO1RrEsF9SkrBAFUC3DPu6Mmanaapn
> <https://drive.google.com/open?id=1TFWO1RrEsF9SkrBAFUC3DPu6Mmanaapn>
>
>
>
> --
> Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20200513/d658f998/attachment.htm>


More information about the users mailing list